Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001273/0.001273, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001436/0.001436, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor")
translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 64.75 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2628, allocations: 53.37 MB / 432.4 MB, free: 6.969 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008929/0.2718, allocations: 6.577 MB / 439 MB, free: 372 kB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005568/0.2773, allocations: 2.655 MB / 441.6 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.2784, allocations: 23.94 kB / 441.7 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003335/0.2817, allocations: 1.275 MB / 442.9 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001778/0.2835, allocations: 0.5379 MB / 443.5 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.2862, allocations: 1.271 MB / 444.8 MB, free: 10.58 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00162/0.2878, allocations: 1.079 MB / 445.8 MB, free: 9.496 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.289, allocations: 0.6982 MB / 446.5 MB, free: 8.785 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000584/0.2895, allocations: 458.3 kB / 447 MB, free: 8.336 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.2903, allocations: 0.5524 MB / 447.5 MB, free: 7.781 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000146/0.2904, allocations: 100 kB / 447.6 MB, free: 7.684 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.2916, allocations: 419.6 kB / 448 MB, free: 7.273 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.2918, allocations: 231.1 kB / 448.3 MB, free: 7.047 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.2924, allocations: 0.5169 MB / 448.8 MB, free: 6.527 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002165/0.2945, allocations: 1.525 MB / 450.3 MB, free: 4.996 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2945, allocations: 4 kB / 450.3 MB, free: 4.992 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.964e-06/0.2945, allocations: 0 / 450.3 MB, free: 4.992 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.9e-05/0.2946, allocations: 4 kB / 450.3 MB, free: 4.988 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: 282
 * Number of variables: 282
Notification: Performance of Generate backend data structure: time 0.004317/0.2989, allocations: 1.7 MB / 452 MB, free: 3.246 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2989, allocations: 11.98 kB / 452 MB, free: 3.234 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.3021, allocations: 479.8 kB / 452.5 MB, free: 2.766 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.3029, allocations: 449.1 kB / 452.9 MB, free: 2.301 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.3029, allocations: 86.22 kB / 453 MB, free: 2.215 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.3031, allocations: 116 kB / 453.1 MB, free: 2.102 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.3051, allocations: 0.9706 MB / 454.1 MB, free: 1.102 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.3051, allocations: 0 / 454.1 MB, free: 1.102 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-05/0.3052, allocations: 44 kB / 454.1 MB, free: 1.059 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.3052, allocations: 31.94 kB / 454.2 MB, free: 1.027 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.3072, allocations: 0.9574 MB / 455.1 MB, free: 64 kB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.3132, allocations: 3.504 MB / 458.6 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.315, allocations: 0.8201 MB / 459.5 MB, free: 11.55 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/0.3158, allocations: 396.3 kB / 459.8 MB, free: 11.16 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.3159, allocations: 33.03 kB / 459.9 MB, free: 11.13 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.3168, allocations: 478.5 kB / 460.3 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=96): time 2.264e-06/0.3168, allocations: 0 / 460.3 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of matching and sorting (n=125): time 0.009092/0.3259, allocations: 3.699 MB / 464 MB, free: 6.902 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.326, allocations: 149.5 kB / 464.2 MB, free: 6.727 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.3265, allocations: 409.5 kB / 464.6 MB, free: 6.32 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.3266, allocations: 45.7 kB / 464.6 MB, free: 6.27 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.327, allocations: 441 kB / 465.1 MB, free: 5.832 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.3273, allocations: 440.1 kB / 465.5 MB, free: 5.398 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/0.3276, allocations: 210.9 kB / 465.7 MB, free: 5.188 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.000193/0.3278, allocations: 378.8 kB / 466.1 MB, free: 4.809 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.3286, allocations: 346.5 kB / 466.4 MB, free: 4.469 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009039/0.3295, allocations: 0.5351 MB / 466.9 MB, free: 3.867 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.3311, allocations: 0.9347 MB / 467.9 MB, free: 2.879 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3311, allocations: 4 kB / 467.9 MB, free: 2.875 MB / 366.1 MB
Notification: Performance of matching and sorting (n=158) (initialization): time 0.002678/0.3338, allocations: 1.367 MB / 469.2 MB, free: 1.488 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3338, allocations: 6.969 kB / 469.3 MB, free: 1.484 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3338, allocations: 4 kB / 469.3 MB, free: 1.48 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/0.3347, allocations: 354 kB / 469.6 MB, free: 1.125 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/0.3356, allocations: 207.7 kB / 469.8 MB, free: 0.9219 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008578/0.3442, allocations: 8.057 MB / 477.9 MB, free: 8.418 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/0.345, allocations: 48.05 kB / 477.9 MB, free: 8.371 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.345, allocations: 43.94 kB / 478 MB, free: 8.328 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 19
 * Number of states: 0 ()
 * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (114):
 * Single equations (assignments): 110
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0004813/0.3455, allocations: 261.5 kB / 478.2 MB, free: 8.062 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3456, allocations: 75.53 kB / 478.3 MB, free: 7.988 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.3483, allocations: 1.289 MB / 479.6 MB, free: 6.672 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.3483, allocations: 12 kB / 479.6 MB, free: 6.66 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3483, allocations: 4 kB / 479.6 MB, free: 6.656 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3483, allocations: 7.984 kB / 479.6 MB, free: 6.648 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.3527, allocations: 2.49 MB / 482.1 MB, free: 4.078 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.3527, allocations: 12.03 kB / 482.1 MB, free: 4.066 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.3534, allocations: 151.8 kB / 482.2 MB, free: 3.918 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008196/0.3543, allocations: 337.8 kB / 482.6 MB, free: 3.578 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.3543, allocations: 31.98 kB / 482.6 MB, free: 3.547 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00888/0.3632, allocations: 7.692 MB / 490.3 MB, free: 11.41 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3632, allocations: 3.938 kB / 490.3 MB, free: 11.4 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/0.367, allocations: 1.81 MB / 492.1 MB, free: 9.547 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.3675, allocations: 151.5 kB / 492.3 MB, free: 9.398 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.3676, allocations: 24 kB / 492.3 MB, free: 9.375 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/0.3681, allocations: 39.97 kB / 492.3 MB, free: 9.336 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.3683, allocations: 100.7 kB / 492.4 MB, free: 9.238 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/0.3684, allocations: 39.98 kB / 492.5 MB, free: 9.199 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0003579/0.3688, allocations: 283.2 kB / 492.7 MB, free: 8.922 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3688, allocations: 0 / 492.7 MB, free: 8.922 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001213/0.37, allocations: 316 kB / 493 MB, free: 8.613 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma)
 * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last)
 * Number of discrete states: 1 (rootMeanSquare.mean.x)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (85):
 * Single equations (assignments): 80
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003576/0.3703, allocations: 177.4 kB / 493.2 MB, free: 8.43 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.003237/0.3736, allocations: 1.549 MB / 494.8 MB, free: 6.828 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3736, allocations: 0 / 494.8 MB, free: 6.828 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001937/0.3755, allocations: 1.1 MB / 495.9 MB, free: 5.684 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.3761, allocations: 88.19 kB / 496 MB, free: 5.598 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.3803, allocations: 1.931 MB / 497.9 MB, free: 3.621 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/0.3811, allocations: 1.028 MB / 498.9 MB, free: 2.566 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0004227/0.3815, allocations: 106.1 kB / 499 MB, free: 2.461 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3817, allocations: 55.42 kB / 499.1 MB, free: 2.406 MB / 398.1 MB
Notification: Performance of SimCode: time 1.292e-06/0.3817, allocations: 0 / 499.1 MB, free: 2.406 MB / 398.1 MB
Notification: Performance of Templates: time 0.02436/0.4061, allocations: 12.19 MB / 0.4993 GB, free: 6.23 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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: 5.1313408659771085]