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.001338/0.001338, allocations: 105 kB / 21.22 MB, free: 0.6758 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.001438/0.001438, allocations: 209.7 kB / 24.53 MB, free: 4.035 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.459/1.459, allocations: 230.3 MB / 258 MB, free: 8.234 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.001911/0.001911, allocations: 63.84 kB / 378.8 MB, free: 2.773 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2741, allocations: 53.37 MB / 432.1 MB, free: 7.047 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004469/0.2786, allocations: 2.851 MB / 435 MB, free: 4.184 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001393/0.28, allocations: 0.806 MB / 435.8 MB, free: 3.371 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.2801, allocations: 4 kB / 435.8 MB, free: 3.367 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.2804, allocations: 67.42 kB / 435.9 MB, free: 3.301 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.2806, allocations: 99.19 kB / 436 MB, free: 3.203 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.2809, allocations: 107.8 kB / 436.1 MB, free: 3.098 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003955/0.2813, allocations: 386.6 kB / 436.5 MB, free: 2.719 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.2815, allocations: 99.33 kB / 436.6 MB, free: 2.621 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.2818, allocations: 163.4 kB / 436.7 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.282, allocations: 171.2 kB / 436.9 MB, free: 2.293 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.282, allocations: 36 kB / 436.9 MB, free: 2.258 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.202e-05/0.2821, allocations: 32 kB / 436.9 MB, free: 2.227 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.2822, allocations: 79.62 kB / 437 MB, free: 2.148 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.2823, allocations: 175.1 kB / 437.2 MB, free: 1.977 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.2828, allocations: 400 kB / 437.6 MB, free: 1.59 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2828, allocations: 0 / 437.6 MB, free: 1.59 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.333e-06/0.2828, allocations: 3.938 kB / 437.6 MB, free: 1.586 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.117e-05/0.2828, allocations: 0 / 437.6 MB, free: 1.586 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.001225/0.2841, allocations: 0.5676 MB / 438.2 MB, free: 0.9883 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2841, allocations: 8.031 kB / 438.2 MB, free: 0.9805 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.2842, allocations: 48.69 kB / 438.2 MB, free: 0.9336 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.2846, allocations: 218.8 kB / 438.4 MB, free: 0.6914 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.2846, allocations: 33.03 kB / 438.5 MB, free: 0.6562 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.2847, allocations: 28.38 kB / 438.5 MB, free: 0.6289 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.2853, allocations: 294.3 kB / 438.8 MB, free: 348 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2854, allocations: 0 / 438.8 MB, free: 348 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.2854, allocations: 8 kB / 438.8 MB, free: 340 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2854, allocations: 8 kB / 438.8 MB, free: 332 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/0.2861, allocations: 254.5 kB / 439 MB, free: 80 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.288, allocations: 1.041 MB / 440.1 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.2884, allocations: 157.3 kB / 440.2 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.2886, allocations: 64.83 kB / 440.3 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.2886, allocations: 4 kB / 440.3 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2886, allocations: 34.55 kB / 440.3 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2886, allocations: 4 kB / 440.3 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of matching and sorting (n=22): time 0.002201/0.2908, allocations: 0.586 MB / 440.9 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.2909, allocations: 59.41 kB / 441 MB, free: 14 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.2912, allocations: 273.7 kB / 441.2 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2912, allocations: 25.7 kB / 441.3 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.2914, allocations: 236 kB / 441.5 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.2915, allocations: 75.38 kB / 441.6 MB, free: 13.39 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2916, allocations: 65.44 kB / 441.6 MB, free: 13.32 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001672/0.2917, allocations: 338.8 kB / 442 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.2921, allocations: 95.92 kB / 442.1 MB, free: 12.88 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.2924, allocations: 192.1 kB / 442.3 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.2931, allocations: 309.1 kB / 442.6 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2931, allocations: 0 / 442.6 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009151/0.294, allocations: 389.4 kB / 442.9 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2941, allocations: 8 kB / 442.9 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.2941, allocations: 4 kB / 442.9 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.2943, allocations: 61.73 kB / 443 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.2947, allocations: 71.89 kB / 443.1 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.2969, allocations: 2.634 MB / 445.7 MB, free: 8.902 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.2972, allocations: 27.88 kB / 445.7 MB, free: 8.875 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.2972, allocations: 16 kB / 445.8 MB, free: 8.859 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.0001757/0.2974, allocations: 161.6 kB / 445.9 MB, free: 8.691 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.2975, allocations: 27.92 kB / 445.9 MB, free: 8.664 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.2975, allocations: 30.27 kB / 446 MB, free: 8.637 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2975, allocations: 4 kB / 446 MB, free: 8.633 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2976, allocations: 0 / 446 MB, free: 8.633 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2976, allocations: 0 / 446 MB, free: 8.633 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.2979, allocations: 308.5 kB / 446.3 MB, free: 8.289 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.298, allocations: 0 / 446.3 MB, free: 8.289 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.2982, allocations: 44.09 kB / 446.3 MB, free: 8.246 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/0.2984, allocations: 53.67 kB / 446.4 MB, free: 8.188 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.2984, allocations: 4 kB / 446.4 MB, free: 8.184 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.3005, allocations: 2.634 MB / 449 MB, free: 5.316 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3005, allocations: 0 / 449 MB, free: 5.316 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/0.3013, allocations: 372.9 kB / 449.4 MB, free: 4.93 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.3013, allocations: 23.8 kB / 449.4 MB, free: 4.906 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.3014, allocations: 7.984 kB / 449.4 MB, free: 4.898 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.3016, allocations: 19.98 kB / 449.4 MB, free: 4.879 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.3017, allocations: 15.97 kB / 449.4 MB, free: 4.863 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3017, allocations: 7.984 kB / 449.4 MB, free: 4.855 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001976/0.3019, allocations: 193.2 kB / 449.6 MB, free: 4.664 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3019, allocations: 0 / 449.6 MB, free: 4.664 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004105/0.3023, allocations: 72 kB / 449.7 MB, free: 4.594 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.000125/0.3024, allocations: 99.25 kB / 449.8 MB, free: 4.488 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001007/0.3034, allocations: 481 kB / 450.3 MB, free: 3.992 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3034, allocations: 0 / 450.3 MB, free: 3.992 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.304, allocations: 346 kB / 450.6 MB, free: 3.629 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3043, allocations: 20.5 kB / 450.6 MB, free: 3.609 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3055, allocations: 0.5555 MB / 451.2 MB, free: 3.031 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3059, allocations: 0.7752 MB / 452 MB, free: 2.23 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001204/0.306, allocations: 30.31 kB / 452 MB, free: 2.203 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.3061, allocations: 19.44 kB / 452 MB, free: 2.184 MB / 350.1 MB
Notification: Performance of SimCode: time 3.51e-07/0.3061, allocations: 0 / 452 MB, free: 2.184 MB / 350.1 MB
Notification: Performance of Templates: time 0.007452/0.3135, allocations: 2.95 MB / 455 MB, free: 15.24 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/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: 4.596496669575572]