Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 216.8 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.503/1.503, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.288, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00509/0.2931, allocations: 2.867 MB / 434.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.2947, allocations: 0.7906 MB / 435.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.2949, allocations: 11.94 kB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.2951, allocations: 59.44 kB / 435.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.2954, allocations: 99.19 kB / 435.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.2957, allocations: 107.9 kB / 436 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.2961, allocations: 390.5 kB / 436.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.2963, allocations: 94.92 kB / 436.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.2967, allocations: 159.4 kB / 436.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.2969, allocations: 179.2 kB / 436.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.2969, allocations: 32 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.297, allocations: 32 kB / 436.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.2971, allocations: 71.77 kB / 436.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.2972, allocations: 179.1 kB / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.2977, allocations: 399.8 kB / 437.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2977, allocations: 0 / 437.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2977, allocations: 0 / 437.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2978, allocations: 0 / 437.5 MB, free: 1.941 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001319/0.2991, allocations: 0.6467 MB / 438.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2991, allocations: 12.03 kB / 438.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.22e-05/0.2992, allocations: 36.7 kB / 438.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.2997, allocations: 276.7 kB / 438.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2997, allocations: 29.03 kB / 438.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.2998, allocations: 28.38 kB / 438.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.3004, allocations: 294.3 kB / 438.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3004, allocations: 0 / 438.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.3004, allocations: 12 kB / 438.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3005, allocations: 8 kB / 438.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.3011, allocations: 254.4 kB / 439.1 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.3031, allocations: 1.12 MB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.3035, allocations: 146.4 kB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.3037, allocations: 60.83 kB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3037, allocations: 4 kB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3038, allocations: 42.55 kB / 440.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.3038, allocations: 0 / 440.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002235/0.306, allocations: 0.5829 MB / 441 MB, free: 14.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.306, allocations: 59.34 kB / 441.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.3064, allocations: 274.5 kB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3064, allocations: 29.7 kB / 441.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.3066, allocations: 236 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.3066, allocations: 75.38 kB / 441.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.3067, allocations: 69.38 kB / 441.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3069, allocations: 338.8 kB / 442.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.3072, allocations: 99.92 kB / 442.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.3076, allocations: 184.2 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.3083, allocations: 309.1 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3083, allocations: 0 / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009199/0.3092, allocations: 393.3 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3092, allocations: 4 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3093, allocations: 4 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.3095, allocations: 65.77 kB / 443.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.3099, allocations: 71.89 kB / 443.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.3122, allocations: 2.834 MB / 446 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3125, allocations: 27.92 kB / 446 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.3125, allocations: 16 kB / 446 MB, free: 8.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.3127, allocations: 153.7 kB / 446.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.3128, allocations: 23.86 kB / 446.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.3129, allocations: 34.17 kB / 446.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3129, allocations: 0 / 446.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3129, allocations: 7.938 kB / 446.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3129, allocations: 0 / 446.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.3133, allocations: 333.4 kB / 446.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3133, allocations: 3.984 kB / 446.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.3135, allocations: 43.91 kB / 446.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.3137, allocations: 57.81 kB / 446.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3137, allocations: 7.984 kB / 446.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.3159, allocations: 2.829 MB / 449.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3159, allocations: 0 / 449.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/0.3167, allocations: 380 kB / 449.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.3168, allocations: 104.9 kB / 450 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.3168, allocations: 0 / 450 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.317, allocations: 15.98 kB / 450 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.3171, allocations: 23.97 kB / 450 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3171, allocations: 8 kB / 450 MB, free: 4.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.3174, allocations: 186 kB / 450.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3174, allocations: 4 kB / 450.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.3178, allocations: 72 kB / 450.3 MB, free: 4.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.3179, allocations: 103.2 kB / 450.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.319, allocations: 476.9 kB / 450.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.319, allocations: 0 / 450.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.3196, allocations: 342.2 kB / 451.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3199, allocations: 24.56 kB / 451.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3211, allocations: 0.5675 MB / 451.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3215, allocations: 0.7752 MB / 452.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.3216, allocations: 30.27 kB / 452.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.3217, allocations: 19.44 kB / 452.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3217, allocations: 0 / 452.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Templates: time 0.007305/0.329, allocations: 2.892 MB / 455.5 MB, free: 14.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.60895278910175]