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.0009696/0.0009696, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009452/0.0009452, allocations: 171.3 kB / 25.7 MB, free: 8.449 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.9932/0.9932, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.673e-06/1.673e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.546e-05, allocations: 2.312 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005879/0.005905, allocations: 6.267 MB / 257.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003792/0.009696, allocations: 2.597 MB / 260.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.01012, allocations: 23.94 kB / 260.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.01169, allocations: 1.337 MB / 261.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.0128, allocations: 0.551 MB / 262.3 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.01413, allocations: 1.194 MB / 263.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008773/0.015, allocations: 1.132 MB / 264.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007597/0.01576, allocations: 0.8324 MB / 265.5 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.01626, allocations: 0.6665 MB / 266.2 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.01667, allocations: 442.7 kB / 266.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.96e-05/0.01677, allocations: 104 kB / 266.7 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.01733, allocations: 403.4 kB / 267.1 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.01746, allocations: 239.1 kB / 267.3 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.01769, allocations: 375 kB / 267.7 MB, free: 6.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.01865, allocations: 1.086 MB / 268.8 MB, free: 5.891 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01865, allocations: 0 / 268.8 MB, free: 5.891 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01865, allocations: 0 / 268.8 MB, free: 5.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.01866, allocations: 0 / 268.8 MB, free: 5.891 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.002468/0.02113, allocations: 1.639 MB / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.02117, allocations: 8.031 kB / 270.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.0234, allocations: 0.8278 MB / 271.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.02378, allocations: 303.8 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.02383, allocations: 86.67 kB / 271.6 MB, free: 2.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.02392, allocations: 123.8 kB / 271.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.02461, allocations: 0.7372 MB / 272.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.02463, allocations: 3.984 kB / 272.5 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.02469, allocations: 51.94 kB / 272.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.0247, allocations: 28 kB / 272.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.02517, allocations: 401 kB / 273 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.02786, allocations: 2.367 MB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.02856, allocations: 0.6549 MB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.0288, allocations: 219.5 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.951e-05/0.02887, allocations: 36.92 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.0294, allocations: 397.8 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 2.384e-06/0.0294, allocations: 0 / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=105): time 0.003051/0.03245, allocations: 2.188 MB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.03251, allocations: 141.5 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.03271, allocations: 363 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.03275, allocations: 45.7 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.03292, allocations: 432.9 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.03308, allocations: 372.8 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.03325, allocations: 190.8 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.03335, allocations: 374.6 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.03348, allocations: 118.6 kB / 280.8 MB, free: 9.469 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.03373, allocations: 401.2 kB / 281.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.03418, allocations: 0.5461 MB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.03418, allocations: 0 / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006978/0.03488, allocations: 0.6729 MB / 282.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.0349, allocations: 8.406 kB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.03491, allocations: 11.94 kB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.03533, allocations: 210.3 kB / 282.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.03579, allocations: 231.6 kB / 282.9 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.03839, allocations: 4.497 MB / 287.4 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.03863, allocations: 43.94 kB / 287.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.03867, allocations: 44.08 kB / 287.5 MB, free: 2.367 MB / 266.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 (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.03884, allocations: 172.4 kB / 287.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.03892, allocations: 75.88 kB / 287.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.03956, allocations: 0.6026 MB / 288.3 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.03957, allocations: 19.98 kB / 288.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.03957, allocations: 4 kB / 288.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.03958, allocations: 3.984 kB / 288.3 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.04078, allocations: 1.089 MB / 289.4 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.04078, allocations: 0 / 289.4 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.04113, allocations: 163.7 kB / 289.6 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/0.04152, allocations: 214.5 kB / 289.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.04155, allocations: 20 kB / 289.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.04381, allocations: 4.508 MB / 294.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.04381, allocations: 0 / 294.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007756/0.04459, allocations: 0.8256 MB / 295.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.04471, allocations: 75.55 kB / 295.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.04475, allocations: 20 kB / 295.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.04494, allocations: 31.98 kB / 295.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.04504, allocations: 84.78 kB / 295.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.04506, allocations: 16 kB / 295.4 MB, free: 10.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.04516, allocations: 136.7 kB / 295.5 MB, free: 9.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04516, allocations: 0 / 295.5 MB, free: 9.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005871/0.04575, allocations: 279.9 kB / 295.8 MB, free: 9.676 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.04595, allocations: 148.5 kB / 295.9 MB, free: 9.523 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007791/0.04672, allocations: 0.9318 MB / 296.8 MB, free: 8.555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.04673, allocations: 8.5 kB / 296.9 MB, free: 8.547 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.04722, allocations: 0.7172 MB / 297.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.0476, allocations: 73.47 kB / 297.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.04965, allocations: 1.649 MB / 299.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.04979, allocations: 186.4 kB / 299.5 MB, free: 5.809 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.05003, allocations: 109.4 kB / 299.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.05024, allocations: 143.3 kB / 299.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05024, allocations: 4 kB / 299.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of Templates: time 0.01233/0.06256, allocations: 9.638 MB / 309.4 MB, free: 11.94 MB / 298.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 -s gbode -gbm=radauIIA3 -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: 2.820966604631394]