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.001869/0.001869, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001464/0.001464, allocations: 160.6 kB / 25.02 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 1.472/1.472, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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 2.505e-06/2.505e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.452e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009339/0.009374, allocations: 5.791 MB / 256.1 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006538/0.01591, allocations: 2.438 MB / 258.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.01707, allocations: 20 kB / 258.6 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003954/0.02102, allocations: 1.251 MB / 259.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.02355, allocations: 0.5549 MB / 260.4 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.02658, allocations: 1.182 MB / 261.6 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.02876, allocations: 1.133 MB / 262.7 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.03039, allocations: 0.774 MB / 263.5 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.03156, allocations: 0.6626 MB / 264.2 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007732/0.03233, allocations: 430.7 kB / 264.6 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.03251, allocations: 100 kB / 264.7 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.03361, allocations: 387.4 kB / 265.1 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.03387, allocations: 243 kB / 265.3 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005575/0.03443, allocations: 371.1 kB / 265.7 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.03765, allocations: 1.565 MB / 267.2 MB, free: 2.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.03766, allocations: 3.984 kB / 267.2 MB, free: 2.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.03767, allocations: 0 / 267.2 MB, free: 2.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.03769, allocations: 4 kB / 267.2 MB, free: 2.969 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.005127/0.04282, allocations: 1.693 MB / 268.9 MB, free: 1.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.04288, allocations: 12.03 kB / 268.9 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/0.04716, allocations: 0.7688 MB / 269.7 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.04812, allocations: 451.6 kB / 270.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.04823, allocations: 90.67 kB / 270.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.04845, allocations: 115.9 kB / 270.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.05099, allocations: 1.069 MB / 271.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.05103, allocations: 0 / 271.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.05116, allocations: 44 kB / 271.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.05121, allocations: 28 kB / 271.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.05374, allocations: 1.02 MB / 272.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009131/0.06287, allocations: 3.053 MB / 275.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.06589, allocations: 0.8743 MB / 276.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.06718, allocations: 411.5 kB / 276.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.06731, allocations: 24.98 kB / 276.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.06876, allocations: 0.5213 MB / 277.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 3.958e-06/0.06876, allocations: 0 / 277.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=127): time 0.01473/0.08349, allocations: 3.715 MB / 281.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.08367, allocations: 145.5 kB / 281.2 MB, free: 4.613 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/0.08453, allocations: 397.4 kB / 281.6 MB, free: 4.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.08464, allocations: 45.7 kB / 281.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006373/0.08528, allocations: 452.8 kB / 282.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006364/0.08592, allocations: 444.1 kB / 282.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/0.08647, allocations: 214.9 kB / 282.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003366/0.08681, allocations: 378.8 kB / 283.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.08819, allocations: 354.5 kB / 283.5 MB, free: 2.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.09, allocations: 0.6301 MB / 284.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/0.09344, allocations: 0.9852 MB / 285.1 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.09345, allocations: 4 kB / 285.1 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005772/0.09923, allocations: 1.464 MB / 286.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.09927, allocations: 8 kB / 286.6 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.09929, allocations: 4 kB / 286.6 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003163/0.1025, allocations: 451 kB / 287 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/0.1044, allocations: 219.6 kB / 287.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/0.1214, allocations: 7.944 MB / 295.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.1229, allocations: 51.98 kB / 295.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.123, allocations: 44 kB / 295.3 MB, free: 5.945 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.0007968/0.1238, allocations: 269.5 kB / 295.5 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.1242, allocations: 115.6 kB / 295.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.1294, allocations: 1.301 MB / 296.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/0.1294, allocations: 12 kB / 296.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.1294, allocations: 12 kB / 297 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.1294, allocations: 7.969 kB / 297 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006849/0.1363, allocations: 2.217 MB / 299.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1363, allocations: 0 / 299.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/0.1371, allocations: 163.9 kB / 299.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.1387, allocations: 411 kB / 299.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.868e-05/0.1388, allocations: 28 kB / 299.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1388/0.2776, allocations: 7.571 MB / 307.3 MB, free: 51.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.2776, allocations: 2.906 kB / 307.3 MB, free: 51.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/0.2811, allocations: 1.857 MB / 309.2 MB, free: 50.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.2814, allocations: 147.9 kB / 309.3 MB, free: 50.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.2815, allocations: 25.09 kB / 309.4 MB, free: 50.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/0.2821, allocations: 41.39 kB / 309.4 MB, free: 50.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/0.2824, allocations: 103.1 kB / 309.5 MB, free: 50.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/0.2824, allocations: 36.23 kB / 309.6 MB, free: 50.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003259/0.2828, allocations: 257.1 kB / 309.8 MB, free: 50.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2828, allocations: 1.031 kB / 309.8 MB, free: 50.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001292/0.2841, allocations: 323.5 kB / 310.1 MB, free: 50.57 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.0003039/0.2844, allocations: 166.2 kB / 310.3 MB, free: 50.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002897/0.2873, allocations: 1.581 MB / 311.9 MB, free: 49.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.2873, allocations: 1.75 kB / 311.9 MB, free: 49.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.2889, allocations: 1.108 MB / 313 MB, free: 48.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.2895, allocations: 74.36 kB / 313 MB, free: 48.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.2932, allocations: 1.953 MB / 315 MB, free: 47.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.2937, allocations: 444.6 kB / 315.4 MB, free: 47.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000466/0.2942, allocations: 102.4 kB / 315.5 MB, free: 47.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.2944, allocations: 60.97 kB / 315.6 MB, free: 47.72 MB / 282.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2944, allocations: 1.125 kB / 315.6 MB, free: 47.72 MB / 282.7 MB Notification: Performance of Templates: time 0.01778/0.3121, allocations: 11.05 MB / 326.6 MB, free: 40.66 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.344115901039913]