Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001878/0.001878, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.002264/0.002264, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.88 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09198, allocations: 53.32 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004219/0.0962, allocations: 2.834 MB / 430.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.09757, allocations: 0.7827 MB / 431.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.0977, allocations: 8 kB / 431.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.09791, allocations: 67.42 kB / 431.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.09816, allocations: 103.2 kB / 431.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.09842, allocations: 115.7 kB / 431.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.09882, allocations: 382.6 kB / 432.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.09902, allocations: 94.88 kB / 432.2 MB, free: 92 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1851/0.2841, allocations: 161.2 kB / 432.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.2844, allocations: 166.1 kB / 432.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/0.2845, allocations: 33.41 kB / 432.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.826e-05/0.2846, allocations: 33.06 kB / 432.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.2847, allocations: 78.19 kB / 432.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.2848, allocations: 179.4 kB / 432.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.2853, allocations: 392 kB / 433.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2853, allocations: 1.156 kB / 433.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2853, allocations: 0 / 433.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.2853, allocations: 1.469 kB / 433.2 MB, free: 8.137 MB / 350.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.001018/0.2863, allocations: 0.6538 MB / 433.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2863, allocations: 10.02 kB / 433.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.2864, allocations: 39.17 kB / 433.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.2867, allocations: 275.7 kB / 434.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2868, allocations: 24.06 kB / 434.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.2868, allocations: 30.84 kB / 434.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.2874, allocations: 298.7 kB / 434.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2874, allocations: 3.938 kB / 434.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.2874, allocations: 14.48 kB / 434.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2874, allocations: 8.562 kB / 434.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.288, allocations: 247.8 kB / 434.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.2894, allocations: 1.111 MB / 435.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.2898, allocations: 142.6 kB / 436.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.2899, allocations: 68.3 kB / 436.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.29, allocations: 2.625 kB / 436.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.29, allocations: 40.14 kB / 436.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.29, allocations: 0 / 436.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002072/0.2921, allocations: 0.596 MB / 436.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.2921, allocations: 55.55 kB / 436.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.2923, allocations: 263.9 kB / 437.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2924, allocations: 30.86 kB / 437.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2925, allocations: 232.8 kB / 437.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.2925, allocations: 84.91 kB / 437.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.2926, allocations: 66.73 kB / 437.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.2927, allocations: 339.8 kB / 437.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.293, allocations: 95.45 kB / 437.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.2933, allocations: 196.8 kB / 438.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.2939, allocations: 300.5 kB / 438.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2939, allocations: 1.844 kB / 438.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008537/0.2947, allocations: 400.6 kB / 438.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2948, allocations: 7.531 kB / 438.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2948, allocations: 3 kB / 438.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.295, allocations: 56.52 kB / 438.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.2953, allocations: 77.11 kB / 438.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.2968, allocations: 2.831 MB / 441.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.2971, allocations: 36.45 kB / 441.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2971, allocations: 14.28 kB / 441.8 MB, free: 2.789 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.0001254/0.2972, allocations: 149 kB / 442 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.2973, allocations: 23.44 kB / 442 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.2973, allocations: 31.38 kB / 442 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2973, allocations: 5.438 kB / 442 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2974, allocations: 5 kB / 442 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2974, allocations: 2.344 kB / 442 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.2977, allocations: 333.1 kB / 442.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2977, allocations: 1.391 kB / 442.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.2979, allocations: 41.33 kB / 442.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.2981, allocations: 59.94 kB / 442.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2981, allocations: 5.344 kB / 442.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.2996, allocations: 2.829 MB / 445.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2996, allocations: 1.062 kB / 445.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.3004, allocations: 374.5 kB / 445.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.3005, allocations: 105.9 kB / 445.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.3005, allocations: 2.047 kB / 445.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.3007, allocations: 17.27 kB / 445.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.3008, allocations: 18.84 kB / 445.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3008, allocations: 4.344 kB / 445.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.301, allocations: 188.5 kB / 446 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.301, allocations: 1.312 kB / 446 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.3014, allocations: 73.47 kB / 446.1 MB, free: 15.05 MB / 366.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.0001353/0.3015, allocations: 105.5 kB / 446.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.3026, allocations: 481.3 kB / 446.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3026, allocations: 0 / 446.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3031, allocations: 337.2 kB / 447 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3034, allocations: 32.95 kB / 447 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.3045, allocations: 0.5872 MB / 447.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.305, allocations: 0.7712 MB / 448.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.305, allocations: 23.02 kB / 448.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.305, allocations: 0 / 448.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.009375/0.3144, allocations: 5.993 MB / 454.4 MB, free: 12.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.613832043949515]