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.001614/0.001614, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001739/0.001739, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.001967/0.001967, allocations: 67.81 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2571, allocations: 53.4 MB / 432.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004395/0.2615, allocations: 2.656 MB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2629, allocations: 0.7477 MB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2631, allocations: 7.938 kB / 435.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.2633, allocations: 67.42 kB / 435.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.2636, allocations: 98.19 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2639, allocations: 111.8 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.2643, allocations: 394.5 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2645, allocations: 87.34 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.2648, allocations: 159.4 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.265, allocations: 151.2 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.2651, allocations: 32 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.884e-05/0.2651, allocations: 32 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.2652, allocations: 79.75 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.2654, allocations: 147.2 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.2658, allocations: 402.3 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2658, allocations: 3.984 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2658, allocations: 0 / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.2658, allocations: 0 / 437.5 MB, free: 1.512 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.00113/0.267, allocations: 0.5715 MB / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.267, allocations: 11.98 kB / 438.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.2671, allocations: 36.7 kB / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.2675, allocations: 222.8 kB / 438.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.2675, allocations: 25.03 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.2676, allocations: 28.38 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.2682, allocations: 294.4 kB / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2682, allocations: 0 / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.2682, allocations: 16 kB / 438.7 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2682, allocations: 15.92 kB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.2688, allocations: 242.5 kB / 439 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.2705, allocations: 0.8703 MB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.2709, allocations: 142.5 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.2711, allocations: 68.81 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.2711, allocations: 3.938 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.2711, allocations: 42.55 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.2711, allocations: 0 / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002055/0.2732, allocations: 0.5938 MB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.2732, allocations: 55.41 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.2735, allocations: 269.8 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.2736, allocations: 29.7 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.2737, allocations: 236 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.2738, allocations: 75.34 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2739, allocations: 77.36 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2741, allocations: 338.8 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.2744, allocations: 95.88 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.2747, allocations: 196.2 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/0.2754, allocations: 301.1 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2754, allocations: 0 / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008812/0.2763, allocations: 389.1 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2763, allocations: 8 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.2763, allocations: 4 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.2766, allocations: 62.02 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.2769, allocations: 71.89 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.2791, allocations: 2.584 MB / 445.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.2794, allocations: 23.98 kB / 445.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.2795, allocations: 12 kB / 445.5 MB, free: 9.059 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.0001826/0.2796, allocations: 149.8 kB / 445.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.2797, allocations: 31.69 kB / 445.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.2798, allocations: 34.33 kB / 445.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2798, allocations: 8 kB / 445.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2798, allocations: 0 / 445.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2798, allocations: 3.984 kB / 445.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.2801, allocations: 221.2 kB / 445.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2801, allocations: 3.938 kB / 445.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.2803, allocations: 47.91 kB / 446 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.2805, allocations: 57.67 kB / 446 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2805, allocations: 0 / 446 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.2825, allocations: 2.576 MB / 448.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2826, allocations: 0 / 448.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.2833, allocations: 373 kB / 449 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.2833, allocations: 31.8 kB / 449 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.2834, allocations: 0 / 449 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2836, allocations: 15.98 kB / 449 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.2836, allocations: 23.95 kB / 449 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.2836, allocations: 7.938 kB / 449 MB, free: 5.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.2839, allocations: 189.2 kB / 449.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2839, allocations: 0 / 449.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.2842, allocations: 68 kB / 449.3 MB, free: 4.965 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.0001385/0.2844, allocations: 111.1 kB / 449.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.2854, allocations: 461.2 kB / 449.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2854, allocations: 0 / 449.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.2859, allocations: 350 kB / 450.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2862, allocations: 43.73 kB / 450.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2873, allocations: 0.5672 MB / 450.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.2875, allocations: 168.8 kB / 451 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.2876, allocations: 31.42 kB / 451 MB, free: 3.152 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2876, allocations: 0 / 451 MB, free: 3.152 MB / 350.1 MB Notification: Performance of Templates: time 0.008867/0.2964, allocations: 6.097 MB / 457.1 MB, free: 13.06 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.42755540413782]