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.001849/0.001849, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.002146/0.002146, allocations: 158.1 kB / 23.95 MB, free: 4.152 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.462/1.462, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 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: 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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.541e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008242/0.008267, allocations: 5.852 MB / 330.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005805/0.01407, allocations: 2.473 MB / 333.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/0.01493, allocations: 19 kB / 333.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.01818, allocations: 1.246 MB / 334.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.02021, allocations: 0.5402 MB / 335.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.02279, allocations: 1.2 MB / 336.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.02435, allocations: 1.106 MB / 337.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.02553, allocations: 0.7775 MB / 338.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009039/0.02643, allocations: 0.6507 MB / 338.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.02706, allocations: 422.9 kB / 339.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.0272, allocations: 99.16 kB / 339.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009195/0.02812, allocations: 391.4 kB / 339.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.02834, allocations: 243.1 kB / 340 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.02877, allocations: 367.1 kB / 340.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.0307, allocations: 1.573 MB / 341.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.03071, allocations: 3.984 kB / 342 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.03071, allocations: 0 / 342 MB, free: 4.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.03072, allocations: 0 / 342 MB, free: 4.09 MB / 302.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.004445/0.03516, allocations: 1.685 MB / 343.6 MB, free: 2.363 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.0352, allocations: 8.031 kB / 343.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/0.03863, allocations: 471.8 kB / 344.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.03936, allocations: 444.7 kB / 344.5 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.03949, allocations: 82.59 kB / 344.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.03967, allocations: 124.1 kB / 344.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.04167, allocations: 1.013 MB / 345.8 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.0417, allocations: 7.953 kB / 345.8 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.0418, allocations: 44 kB / 345.8 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.04183, allocations: 35.88 kB / 345.8 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.04382, allocations: 0.9574 MB / 346.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/0.04943, allocations: 2.947 MB / 349.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.05118, allocations: 0.8174 MB / 350.6 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008097/0.05199, allocations: 403 kB / 351 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.05209, allocations: 28.98 kB / 351 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009324/0.05302, allocations: 0.5058 MB / 351.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 2.495e-06/0.05303, allocations: 0 / 351.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.009132/0.06216, allocations: 3.687 MB / 355.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.06225, allocations: 145.5 kB / 355.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.0627, allocations: 389.4 kB / 355.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.06277, allocations: 45.7 kB / 355.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.0631, allocations: 441 kB / 356.2 MB, free: 5.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.06343, allocations: 436.2 kB / 356.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.06376, allocations: 202.9 kB / 356.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.06393, allocations: 378.8 kB / 357.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.06465, allocations: 350.5 kB / 357.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009058/0.06555, allocations: 0.5853 MB / 358.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.06722, allocations: 0.9388 MB / 359 MB, free: 2.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.06723, allocations: 0 / 359 MB, free: 2.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002665/0.06989, allocations: 1.355 MB / 360.4 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.06991, allocations: 12 kB / 360.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.06992, allocations: 7.938 kB / 360.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008939/0.07082, allocations: 347.2 kB / 360.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.07169, allocations: 207.6 kB / 361 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008347/0.08004, allocations: 7.872 MB / 368.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/0.08079, allocations: 52.06 kB / 368.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.08087, allocations: 52 kB / 368.9 MB, free: 8.148 MB / 334.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.0004497/0.08132, allocations: 249.6 kB / 369.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.08145, allocations: 71.58 kB / 369.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.08417, allocations: 1.289 MB / 370.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.08418, allocations: 16 kB / 370.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.08419, allocations: 8 kB / 370.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.08421, allocations: 8.047 kB / 370.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/0.08828, allocations: 2.209 MB / 372.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.08829, allocations: 8.188 kB / 372.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.089, allocations: 151.8 kB / 372.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008487/0.08984, allocations: 319.2 kB / 373.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.08991, allocations: 27.98 kB / 373.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008267/0.09817, allocations: 7.529 MB / 380.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.09818, allocations: 0 / 380.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/0.1021, allocations: 1.813 MB / 382.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.1025, allocations: 151.4 kB / 382.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.1026, allocations: 24 kB / 382.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/0.1031, allocations: 35.98 kB / 382.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/0.1034, allocations: 100.7 kB / 382.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.1034, allocations: 39.98 kB / 382.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003266/0.1038, allocations: 255.2 kB / 383.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1038, allocations: 0 / 383.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001233/0.105, allocations: 319.9 kB / 383.5 MB, free: 9.004 MB / 350.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.0003308/0.1053, allocations: 191.1 kB / 383.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.1085, allocations: 1.542 MB / 385.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.1085, allocations: 0 / 385.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.1105, allocations: 1.099 MB / 386.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.1111, allocations: 77.38 kB / 386.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.115, allocations: 1.834 MB / 388.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.1156, allocations: 436 kB / 388.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000453/0.116, allocations: 98.02 kB / 388.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.1162, allocations: 56.48 kB / 388.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1162, allocations: 0 / 388.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of Templates: time 0.02407/0.1403, allocations: 11.18 MB / 400 MB, free: 8.398 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_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: 4.993350028991699]