Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 176.5 kB / 25.34 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9778/0.9778, allocations: 158.6 MB / 187.2 MB, free: 2.543 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.133e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006124/0.006145, allocations: 6.359 MB / 257.4 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.009718, allocations: 2.516 MB / 259.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.01006, allocations: 19.94 kB / 259.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.01192, allocations: 1.341 MB / 261.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009818/0.01291, allocations: 0.5665 MB / 261.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.01425, allocations: 1.198 MB / 263 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000874/0.01512, allocations: 1.129 MB / 264.2 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008654/0.01598, allocations: 0.7817 MB / 265 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.01654, allocations: 0.6626 MB / 265.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.01698, allocations: 442.7 kB / 266.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.01709, allocations: 100 kB / 266.1 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.01769, allocations: 387.4 kB / 266.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.01784, allocations: 247 kB / 266.8 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.0181, allocations: 371.1 kB / 267.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.01939, allocations: 1.086 MB / 268.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.0194, allocations: 0 / 268.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.0194, allocations: 0 / 268.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.01941, allocations: 0 / 268.2 MB, free: 2.32 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.002534/0.02195, allocations: 1.835 MB / 270.1 MB, free: 452 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.02199, allocations: 12.03 kB / 270.1 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.02413, allocations: 0.7727 MB / 270.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.02463, allocations: 450.4 kB / 271.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.02469, allocations: 90.67 kB / 271.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.02482, allocations: 119.9 kB / 271.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.02585, allocations: 0.7998 MB / 272.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.02587, allocations: 0 / 272.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.02594, allocations: 47.98 kB / 272.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.02596, allocations: 28 kB / 272.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000898/0.02686, allocations: 0.5833 MB / 272.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003678/0.03054, allocations: 2.944 MB / 275.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.03155, allocations: 0.8006 MB / 276.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.03193, allocations: 286.3 kB / 277 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.74e-05/0.032, allocations: 24.98 kB / 277 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/0.03246, allocations: 450.9 kB / 277.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 2.094e-06/0.03246, allocations: 0 / 277.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=127): time 0.004061/0.03652, allocations: 2.875 MB / 280.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.0366, allocations: 145.5 kB / 280.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.0369, allocations: 434.4 kB / 280.9 MB, free: 5.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.03694, allocations: 45.7 kB / 280.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.03716, allocations: 0.4918 MB / 281.4 MB, free: 4.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.03756, allocations: 456.1 kB / 281.9 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.03778, allocations: 228.5 kB / 282.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.03794, allocations: 0.5547 MB / 282.6 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.03825, allocations: 202.5 kB / 282.8 MB, free: 3.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.03873, allocations: 0.5639 MB / 283.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.03955, allocations: 0.7692 MB / 284.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.03956, allocations: 4 kB / 284.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00139/0.04095, allocations: 1.139 MB / 285.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.04097, allocations: 8 kB / 285.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.04098, allocations: 12 kB / 285.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008294/0.04181, allocations: 386.3 kB / 285.7 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.0423, allocations: 215.7 kB / 285.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.04809, allocations: 9.373 MB / 295.3 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.04845, allocations: 51.98 kB / 295.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.04851, allocations: 44 kB / 295.4 MB, free: 5.965 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0002721/0.04878, allocations: 228.3 kB / 295.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.0489, allocations: 123.5 kB / 295.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.05042, allocations: 1.015 MB / 296.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.05043, allocations: 16 kB / 296.8 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.05044, allocations: 4 kB / 296.8 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.05045, allocations: 11.98 kB / 296.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.05276, allocations: 1.967 MB / 298.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.05277, allocations: 0 / 298.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.05312, allocations: 155.9 kB / 298.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007049/0.05382, allocations: 358.6 kB / 299.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.05387, allocations: 27.98 kB / 299.3 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1301/0.184, allocations: 8.992 MB / 308.3 MB, free: 37.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.184, allocations: 2.469 kB / 308.3 MB, free: 37.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.1862, allocations: 1.414 MB / 309.7 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.1864, allocations: 143.5 kB / 309.8 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.1865, allocations: 26.52 kB / 309.8 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.1867, allocations: 38.7 kB / 309.9 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.1869, allocations: 102.9 kB / 310 MB, free: 37.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.187, allocations: 39.8 kB / 310 MB, free: 37.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000212/0.1872, allocations: 273.3 kB / 310.3 MB, free: 37.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1872, allocations: 1.625 kB / 310.3 MB, free: 37.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009889/0.1882, allocations: 318.4 kB / 310.6 MB, free: 37.08 MB / 282.7 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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.0003078/0.1885, allocations: 170.3 kB / 310.8 MB, free: 36.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.1902, allocations: 1.593 MB / 312.4 MB, free: 36.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1902, allocations: 0 / 312.4 MB, free: 36.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009109/0.1911, allocations: 1.247 MB / 313.6 MB, free: 35.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1915, allocations: 80.11 kB / 313.7 MB, free: 35.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.1942, allocations: 1.856 MB / 315.5 MB, free: 34.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1943, allocations: 214.5 kB / 315.7 MB, free: 34.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.1946, allocations: 105.7 kB / 315.8 MB, free: 34.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1947, allocations: 60.97 kB / 315.9 MB, free: 34.62 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1947, allocations: 0 / 315.9 MB, free: 34.62 MB / 282.7 MB Notification: Performance of Templates: time 0.01296/0.2077, allocations: 11.2 MB / 327.1 MB, free: 31.3 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3855401719920337]