Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.001811/0.001811, allocations: 112.4 kB / 20.43 MB, free: 1.449 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.002161/0.002161, allocations: 191.8 kB / 23.72 MB, free: 4.68 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.589/1.589, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap")
translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.92 kB / 370.9 MB, free: 9.352 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2869, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005553/0.2925, allocations: 3.546 MB / 426.7 MB, free: 11.12 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002114/0.2946, allocations: 0.9153 MB / 427.6 MB, free: 10.2 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/0.2951, allocations: 11.94 kB / 427.6 MB, free: 10.19 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.2955, allocations: 99.08 kB / 427.7 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.2961, allocations: 166.8 kB / 427.9 MB, free: 9.926 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.2965, allocations: 163.7 kB / 428 MB, free: 9.766 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007151/0.2972, allocations: 0.6423 MB / 428.7 MB, free: 9.125 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.2975, allocations: 142 kB / 428.8 MB, free: 8.98 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.2978, allocations: 251.1 kB / 429 MB, free: 8.734 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.2982, allocations: 270.7 kB / 429.3 MB, free: 8.469 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.499e-05/0.2983, allocations: 52 kB / 429.4 MB, free: 8.418 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.2984, allocations: 52 kB / 429.4 MB, free: 8.367 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.2985, allocations: 127.5 kB / 429.5 MB, free: 8.242 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.2988, allocations: 278.5 kB / 429.8 MB, free: 7.969 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.2995, allocations: 0.6313 MB / 430.4 MB, free: 7.34 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2995, allocations: 3.938 kB / 430.4 MB, free: 7.336 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.2995, allocations: 0 / 430.4 MB, free: 7.336 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.167e-05/0.2995, allocations: 4 kB / 430.4 MB, free: 7.332 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: 128
 * Number of variables: 128
Notification: Performance of Generate backend data structure: time 0.001597/0.3011, allocations: 0.7895 MB / 431.2 MB, free: 6.512 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3011, allocations: 11.97 kB / 431.3 MB, free: 6.5 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3013, allocations: 60.56 kB / 431.3 MB, free: 6.441 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.3019, allocations: 298.2 kB / 431.6 MB, free: 6.125 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.3019, allocations: 37.69 kB / 431.6 MB, free: 6.086 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.031e-05/0.302, allocations: 48.38 kB / 431.7 MB, free: 6.039 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009498/0.303, allocations: 438.4 kB / 432.1 MB, free: 5.605 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.303, allocations: 4 kB / 432.1 MB, free: 5.602 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.303, allocations: 20 kB / 432.1 MB, free: 5.582 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.3031, allocations: 12 kB / 432.1 MB, free: 5.57 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.304, allocations: 385 kB / 432.5 MB, free: 5.195 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.3067, allocations: 1.509 MB / 434 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.3074, allocations: 308.2 kB / 434.3 MB, free: 3.273 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.3078, allocations: 169.4 kB / 434.5 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.3079, allocations: 4.328 kB / 434.5 MB, free: 3.102 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3079, allocations: 34.89 kB / 434.5 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=39): time 1.753e-06/0.3079, allocations: 0 / 434.5 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of matching and sorting (n=55): time 0.003509/0.3114, allocations: 1.193 MB / 435.7 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.3114, allocations: 63.91 kB / 435.8 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.3119, allocations: 397.6 kB / 436.2 MB, free: 1.383 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3119, allocations: 29.7 kB / 436.2 MB, free: 1.348 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.3122, allocations: 304.7 kB / 436.5 MB, free: 1.043 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.3123, allocations: 206.2 kB / 436.7 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.3125, allocations: 110.3 kB / 436.8 MB, free: 0.7266 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001751/0.3127, allocations: 358.8 kB / 437.2 MB, free: 376 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.3131, allocations: 173.2 kB / 437.3 MB, free: 200 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.3137, allocations: 303.1 kB / 437.6 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009723/0.3146, allocations: 500 kB / 438.1 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3146, allocations: 3.938 kB / 438.1 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of matching and sorting (n=82) (initialization): time 0.001539/0.3162, allocations: 0.7367 MB / 438.9 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3162, allocations: 12 kB / 438.9 MB, free: 14.56 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3162, allocations: 0 / 438.9 MB, free: 14.56 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.3168, allocations: 185.5 kB / 439.1 MB, free: 14.37 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.3173, allocations: 111.9 kB / 439.2 MB, free: 14.26 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.3217, allocations: 4.067 MB / 443.2 MB, free: 9.973 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.3221, allocations: 27.98 kB / 443.3 MB, free: 9.945 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.3222, allocations: 20 kB / 443.3 MB, free: 9.926 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 (58):
 * Single equations (assignments): 56
 * 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.0002553/0.3224, allocations: 188.7 kB / 443.5 MB, free: 9.734 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.3225, allocations: 51.7 kB / 443.5 MB, free: 9.684 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.3227, allocations: 60.97 kB / 443.6 MB, free: 9.625 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3227, allocations: 8 kB / 443.6 MB, free: 9.617 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.3227, allocations: 4 kB / 443.6 MB, free: 9.613 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3227, allocations: 3.984 kB / 443.6 MB, free: 9.609 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.3251, allocations: 1.26 MB / 444.8 MB, free: 8.281 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3251, allocations: 0 / 444.8 MB, free: 8.281 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.3254, allocations: 71.89 kB / 444.9 MB, free: 8.211 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.3258, allocations: 165.6 kB / 445.1 MB, free: 8.043 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.3259, allocations: 7.984 kB / 445.1 MB, free: 8.035 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.3302, allocations: 3.907 MB / 449 MB, free: 3.902 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3302, allocations: 3.938 kB / 449 MB, free: 3.898 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.3316, allocations: 0.6963 MB / 449.7 MB, free: 3.168 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3317, allocations: 47.64 kB / 449.7 MB, free: 3.121 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.3318, allocations: 12.11 kB / 449.8 MB, free: 3.109 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.3321, allocations: 27.91 kB / 449.8 MB, free: 3.082 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3322, allocations: 56.28 kB / 449.8 MB, free: 3.027 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3322, allocations: 12 kB / 449.8 MB, free: 3.016 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003288/0.3326, allocations: 275.2 kB / 450.1 MB, free: 2.746 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3326, allocations: 0 / 450.1 MB, free: 2.746 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0007413/0.3333, allocations: 156 kB / 450.3 MB, free: 2.594 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * 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 (35):
 * Single equations (assignments): 33
 * 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.0001347/0.3334, allocations: 103.2 kB / 450.4 MB, free: 2.48 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001647/0.3351, allocations: 0.7691 MB / 451.1 MB, free: 1.688 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3351, allocations: 0 / 451.1 MB, free: 1.688 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.3359, allocations: 0.5123 MB / 451.7 MB, free: 1.148 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.3364, allocations: 45.42 kB / 451.7 MB, free: 1.105 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.3382, allocations: 0.9503 MB / 452.6 MB, free: 120 kB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.3387, allocations: 0.8592 MB / 453.5 MB, free: 15.23 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001794/0.3389, allocations: 48.36 kB / 453.6 MB, free: 15.18 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.339, allocations: 27.44 kB / 453.6 MB, free: 15.16 MB / 366.1 MB
Notification: Performance of SimCode: time 8.81e-07/0.339, allocations: 4 kB / 453.6 MB, free: 15.15 MB / 366.1 MB
Notification: Performance of Templates: time 0.01188/0.3509, allocations: 5.559 MB / 459.1 MB, free: 9.598 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.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.93696672655642]