Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 109.6 kB / 20.43 MB, free: 1.301 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 192.4 kB / 23.72 MB, free: 4.551 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap")
translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 47.92 kB / 371 MB, free: 9.34 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2504, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.009201/0.2596, allocations: 6.763 MB / 429.9 MB, free: 7.887 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004691/0.2643, allocations: 2.421 MB / 432.3 MB, free: 5.453 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005051/0.2648, allocations: 24 kB / 432.3 MB, free: 5.43 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004395/0.2692, allocations: 1.893 MB / 434.2 MB, free: 3.535 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001735/0.2709, allocations: 0.7105 MB / 434.9 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.2734, allocations: 1.188 MB / 436.1 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001462/0.2748, allocations: 1.121 MB / 437.3 MB, free: 0.5117 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.276, allocations: 0.7183 MB / 438 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007056/0.2767, allocations: 0.4904 MB / 438.5 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.2775, allocations: 0.6186 MB / 439.1 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.2776, allocations: 100 kB / 439.2 MB, free: 14.55 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009492/0.2786, allocations: 427.6 kB / 439.6 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.2788, allocations: 251 kB / 439.8 MB, free: 13.89 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.2794, allocations: 0.5636 MB / 440.4 MB, free: 13.32 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002189/0.2816, allocations: 1.653 MB / 442.1 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2816, allocations: 3.984 kB / 442.1 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.2816, allocations: 0 / 442.1 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.501e-05/0.2816, allocations: 0 / 442.1 MB, free: 11.66 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: 328
 * Number of variables: 328
Notification: Performance of Generate backend data structure: time 0.006525/0.2881, allocations: 1.968 MB / 444 MB, free: 9.66 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2881, allocations: 8.031 kB / 444 MB, free: 9.652 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.2918, allocations: 0.5114 MB / 444.6 MB, free: 9.141 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.2922, allocations: 253 kB / 444.8 MB, free: 8.867 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.2923, allocations: 102.9 kB / 444.9 MB, free: 8.766 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.2926, allocations: 132.4 kB / 445 MB, free: 8.637 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.2952, allocations: 1.3 MB / 446.3 MB, free: 7.305 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.2953, allocations: 3.953 kB / 446.3 MB, free: 7.301 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.2954, allocations: 56 kB / 446.4 MB, free: 7.246 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.2954, allocations: 32 kB / 446.4 MB, free: 7.215 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/0.2981, allocations: 1.193 MB / 447.6 MB, free: 6.016 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007059/0.3052, allocations: 3.997 MB / 451.6 MB, free: 1.84 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.3074, allocations: 1.154 MB / 452.8 MB, free: 0.7031 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.3085, allocations: 463.5 kB / 453.2 MB, free: 256 kB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.3086, allocations: 28.95 kB / 453.2 MB, free: 228 kB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.3086, allocations: 47.56 kB / 453.3 MB, free: 168 kB / 350.1 MB
Notification: Performance of pre-optimization done (n=122): time 3.577e-06/0.3086, allocations: 0 / 453.3 MB, free: 168 kB / 350.1 MB
Notification: Performance of matching and sorting (n=125): time 0.01186/0.3205, allocations: 3.559 MB / 456.9 MB, free: 12.57 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.3206, allocations: 98.05 kB / 456.9 MB, free: 12.46 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.3211, allocations: 389.6 kB / 457.3 MB, free: 12.07 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.3211, allocations: 45.7 kB / 457.4 MB, free: 12.02 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.3215, allocations: 468.5 kB / 457.8 MB, free: 11.55 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.3218, allocations: 448.1 kB / 458.3 MB, free: 11.11 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.3222, allocations: 239.5 kB / 458.5 MB, free: 10.87 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001986/0.3224, allocations: 366.8 kB / 458.9 MB, free: 10.5 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.3236, allocations: 443.8 kB / 459.3 MB, free: 10.07 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.325, allocations: 0.6957 MB / 460 MB, free: 9.273 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.3276, allocations: 1.171 MB / 461.2 MB, free: 8.008 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3276, allocations: 4 kB / 461.2 MB, free: 8.004 MB / 366.1 MB
Notification: Performance of matching and sorting (n=170) (initialization): time 0.003383/0.331, allocations: 1.474 MB / 462.6 MB, free: 6.516 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.331, allocations: 12 kB / 462.6 MB, free: 6.504 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.331, allocations: 4 kB / 462.7 MB, free: 6.5 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.3316, allocations: 193.6 kB / 462.8 MB, free: 6.305 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.3329, allocations: 295.6 kB / 463.1 MB, free: 6.016 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.3377, allocations: 4.161 MB / 467.3 MB, free: 1.629 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/0.3386, allocations: 75.95 kB / 467.4 MB, free: 1.555 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/0.3387, allocations: 51.98 kB / 467.4 MB, free: 1.504 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 31
 * 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 (146):
 * Single equations (assignments): 144
 * 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,12,100.0%), (1,12,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0004551/0.3392, allocations: 269.6 kB / 467.7 MB, free: 1.23 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.3393, allocations: 75.52 kB / 467.8 MB, free: 1.156 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.3427, allocations: 1.339 MB / 469.1 MB, free: 15.81 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.3427, allocations: 12 kB / 469.1 MB, free: 15.8 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3427, allocations: 11.88 kB / 469.1 MB, free: 15.79 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3427, allocations: 7.969 kB / 469.1 MB, free: 15.78 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005081/0.3478, allocations: 2.582 MB / 471.7 MB, free: 13.1 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3478, allocations: 4.062 kB / 471.7 MB, free: 13.1 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.3489, allocations: 219.7 kB / 471.9 MB, free: 12.88 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.3493, allocations: 161.6 kB / 472.1 MB, free: 12.72 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.699e-05/0.3494, allocations: 27.98 kB / 472.1 MB, free: 12.69 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004328/0.3537, allocations: 3.977 MB / 476.1 MB, free: 8.484 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3537, allocations: 3.938 kB / 476.1 MB, free: 8.48 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00435/0.3581, allocations: 1.876 MB / 478 MB, free: 6.574 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.3585, allocations: 159.4 kB / 478.1 MB, free: 6.418 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3586, allocations: 20 kB / 478.1 MB, free: 6.398 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.3593, allocations: 63.94 kB / 478.2 MB, free: 6.336 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.3595, allocations: 96.88 kB / 478.3 MB, free: 6.242 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.3596, allocations: 35.98 kB / 478.3 MB, free: 6.207 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.00034/0.3599, allocations: 267.2 kB / 478.6 MB, free: 5.945 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3599, allocations: 0 / 478.6 MB, free: 5.945 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.001103/0.361, allocations: 304 kB / 478.9 MB, free: 5.648 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 1 (currentSource.pin_p.reference.gamma)
 * 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 (106):
 * Single equations (assignments): 104
 * 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,10,100.0%), (1,10,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003088/0.3613, allocations: 175 kB / 479.1 MB, free: 5.465 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.004818/0.3661, allocations: 1.391 MB / 480.5 MB, free: 4.051 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3661, allocations: 4 kB / 480.5 MB, free: 4.047 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002574/0.3687, allocations: 0.8198 MB / 481.3 MB, free: 3.199 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.3696, allocations: 78.05 kB / 481.4 MB, free: 3.125 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006414/0.3761, allocations: 1.969 MB / 483.3 MB, free: 1.117 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009692/0.377, allocations: 1.005 MB / 484.3 MB, free: 84 kB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.001097/0.3781, allocations: 146.7 kB / 484.5 MB, free: 15.93 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.3785, allocations: 75.34 kB / 484.5 MB, free: 15.86 MB / 398.1 MB
Notification: Performance of SimCode: time 1.192e-06/0.3785, allocations: 0 / 484.5 MB, free: 15.86 MB / 398.1 MB
Notification: Performance of Templates: time 0.03352/0.412, allocations: 11.21 MB / 495.8 MB, free: 4.688 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.877781831659377]