Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001329/0.001329, allocations: 119.5 kB / 18.45 MB, free: 4.602 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.001519/0.001519, allocations: 201.8 kB / 21.4 MB, free: 1.656 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.491/1.491, allocations: 227.5 MB / 251.7 MB, free: 24 kB / 190.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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 63.89 kB / 365 MB, free: 252 kB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.1004, allocations: 50.57 MB / 415.6 MB, free: 13.64 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008172/0.1086, allocations: 6.487 MB / 422.1 MB, free: 7.117 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005159/0.1138, allocations: 2.632 MB / 424.7 MB, free: 4.477 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.1146, allocations: 20 kB / 424.7 MB, free: 4.457 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003031/0.1176, allocations: 1.278 MB / 426 MB, free: 3.176 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00164/0.1193, allocations: 0.5279 MB / 426.6 MB, free: 2.645 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.1217, allocations: 1.256 MB / 427.8 MB, free: 1.387 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001365/0.1231, allocations: 1.075 MB / 428.9 MB, free: 316 kB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.1244, allocations: 0.9107 MB / 429.8 MB, free: 15.38 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.1249, allocations: 442.4 kB / 430.2 MB, free: 14.94 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006924/0.1256, allocations: 0.5446 MB / 430.8 MB, free: 14.39 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.1258, allocations: 96 kB / 430.9 MB, free: 14.3 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008837/0.1267, allocations: 423.6 kB / 431.3 MB, free: 13.89 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.1269, allocations: 231.1 kB / 431.5 MB, free: 13.66 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.1274, allocations: 0.5208 MB / 432 MB, free: 13.14 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001836/0.1293, allocations: 1.537 MB / 433.6 MB, free: 11.59 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1293, allocations: 4 kB / 433.6 MB, free: 11.59 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.353e-06/0.1293, allocations: 0 / 433.6 MB, free: 11.59 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.3e-05/0.1293, allocations: 4 kB / 433.6 MB, free: 11.59 MB / 366.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.004266/0.1336, allocations: 1.665 MB / 435.2 MB, free: 9.863 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1336, allocations: 8.031 kB / 435.2 MB, free: 9.855 MB / 366.1 MB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002706/0.1339, allocations: 167.4 kB / 435.4 MB, free: 9.68 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.1371, allocations: 483.8 kB / 435.9 MB, free: 9.207 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.1378, allocations: 0.4982 MB / 436.4 MB, free: 8.672 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.1379, allocations: 82.23 kB / 436.5 MB, free: 8.59 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.138, allocations: 112 kB / 436.6 MB, free: 8.48 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.1399, allocations: 0.9708 MB / 437.5 MB, free: 7.48 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/0.14, allocations: 7.984 kB / 437.5 MB, free: 7.473 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.775e-05/0.1401, allocations: 44 kB / 437.6 MB, free: 7.43 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.1401, allocations: 28 kB / 437.6 MB, free: 7.402 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.142, allocations: 0.9614 MB / 438.6 MB, free: 6.434 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005884/0.1479, allocations: 3.767 MB / 442.3 MB, free: 2.438 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.15, allocations: 1.552 MB / 443.9 MB, free: 0.7148 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008164/0.1508, allocations: 432.3 kB / 444.3 MB, free: 296 kB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.1511, allocations: 191.2 kB / 444.5 MB, free: 64 kB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2276/0.3787, allocations: 474.7 kB / 445 MB, free: 29.16 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=96): time 4.108e-06/0.3787, allocations: 0 / 445 MB, free: 29.16 MB / 366.1 MB
Notification: Performance of matching and sorting (n=125): time 0.008395/0.3871, allocations: 4.018 MB / 449 MB, free: 28.32 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.3872, allocations: 142.6 kB / 449.1 MB, free: 28.17 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.3877, allocations: 405.5 kB / 449.5 MB, free: 28.05 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.3878, allocations: 44.33 kB / 449.6 MB, free: 28.02 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.3881, allocations: 438.9 kB / 450 MB, free: 27.8 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.3883, allocations: 445.5 kB / 450.4 MB, free: 27.55 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.3886, allocations: 205.7 kB / 450.6 MB, free: 27.53 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001122/0.3887, allocations: 385.3 kB / 451 MB, free: 27.21 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.3894, allocations: 356.2 kB / 451.4 MB, free: 27.21 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.3902, allocations: 0.5421 MB / 451.9 MB, free: 27.03 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.3918, allocations: 0.9373 MB / 452.8 MB, free: 26.86 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3918, allocations: 1.062 kB / 452.8 MB, free: 26.86 MB / 366.1 MB
Notification: Performance of matching and sorting (n=158) (initialization): time 0.002715/0.3945, allocations: 1.392 MB / 454.2 MB, free: 26.71 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3945, allocations: 7.156 kB / 454.2 MB, free: 26.71 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3945, allocations: 4.312 kB / 454.2 MB, free: 26.71 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009019/0.3955, allocations: 349.2 kB / 454.6 MB, free: 26.68 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008079/0.3963, allocations: 206.8 kB / 454.8 MB, free: 26.68 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006385/0.4027, allocations: 8.491 MB / 463.3 MB, free: 19.94 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.4035, allocations: 38.84 kB / 463.3 MB, free: 19.93 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/0.4036, allocations: 48.22 kB / 463.4 MB, free: 19.91 MB / 366.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.0004456/0.404, allocations: 265.5 kB / 463.6 MB, free: 19.7 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4042, allocations: 78.94 kB / 463.7 MB, free: 19.66 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.4066, allocations: 1.299 MB / 465 MB, free: 19.07 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.4066, allocations: 13.09 kB / 465 MB, free: 19.07 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.4067, allocations: 12.05 kB / 465 MB, free: 19.07 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4067, allocations: 11.55 kB / 465 MB, free: 19.06 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.4105, allocations: 2.534 MB / 467.6 MB, free: 17.8 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4105, allocations: 2.266 kB / 467.6 MB, free: 17.8 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/0.4112, allocations: 151.7 kB / 467.7 MB, free: 17.79 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007604/0.412, allocations: 325.4 kB / 468 MB, free: 17.68 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.4121, allocations: 28.86 kB / 468.1 MB, free: 17.67 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005851/0.4179, allocations: 8.127 MB / 476.2 MB, free: 10.6 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4179, allocations: 2.031 kB / 476.2 MB, free: 10.6 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.4211, allocations: 1.837 MB / 478 MB, free: 9.66 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.4214, allocations: 225.6 kB / 478.2 MB, free: 9.48 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.4215, allocations: 24.67 kB / 478.3 MB, free: 9.465 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.422, allocations: 35.83 kB / 478.3 MB, free: 9.449 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.4222, allocations: 101.8 kB / 478.4 MB, free: 9.43 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/0.4223, allocations: 36.38 kB / 478.4 MB, free: 9.422 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.000313/0.4226, allocations: 279.7 kB / 478.7 MB, free: 9.277 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.4226, allocations: 2.734 kB / 478.7 MB, free: 9.277 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.001259/0.4239, allocations: 313.9 kB / 479 MB, free: 9.23 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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.003332/0.4272, allocations: 2.434 MB / 481.5 MB, free: 7.746 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.002747/0.43, allocations: 1.623 MB / 483.1 MB, free: 6.832 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.341e-06/0.43, allocations: 0 / 483.1 MB, free: 6.832 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001499/0.4315, allocations: 1.147 MB / 484.2 MB, free: 6.09 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.4321, allocations: 83 kB / 484.3 MB, free: 6.043 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.4422, allocations: 7.364 MB / 491.7 MB, free: 1.902 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.4426, allocations: 1.029 MB / 492.7 MB, free: 1.184 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0003905/0.443, allocations: 95.52 kB / 492.8 MB, free: 1.16 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.4434, allocations: 351.8 kB / 493.1 MB, free: 0.8867 MB / 366.1 MB
Notification: Performance of SimCode: time 7.02e-07/0.4434, allocations: 4.922 kB / 493.1 MB, free: 0.8867 MB / 366.1 MB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05937/0.5028, allocations: 18.3 MB / 0.4995 GB, free: 15.09 MB / 398.1 MB
Notification: Performance of buildModelFMU: Generate platform static: time 17.73/18.23, allocations: 8 kB / 0.4995 GB, free: 15.09 MB / 398.1 MB
"
[Timeout remaining time 642]
(rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 21.041044144891202]