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.0009354/0.0009354, allocations: 85.95 kB / 23 MB, free: 1.504 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.0009347/0.0009347, allocations: 172.1 kB / 26.39 MB, free: 8 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.8975/0.8975, allocations: 158.6 MB / 188.3 MB, free: 2.809 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.223e-06/1.223e-06, allocations: 3.938 kB / 252.3 MB, free: 7.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.762e-05, allocations: 6.25 kB / 252.3 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005724/0.005752, allocations: 6.193 MB / 258.4 MB, free: 1.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.009548, allocations: 2.5 MB / 260.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005553/0.0101, allocations: 19.94 kB / 261 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.01185, allocations: 1.318 MB / 262.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.01309, allocations: 0.5548 MB / 262.8 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.01458, allocations: 1.175 MB / 264 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.0157, allocations: 1.137 MB / 265.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.01672, allocations: 0.7739 MB / 265.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006495/0.01737, allocations: 0.6664 MB / 266.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.01782, allocations: 442.7 kB / 267 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.01793, allocations: 96 kB / 267.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006862/0.01861, allocations: 387.4 kB / 267.5 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.01875, allocations: 247 kB / 267.7 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.01901, allocations: 371.1 kB / 268.1 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.02009, allocations: 1.09 MB / 269.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.02009, allocations: 0 / 269.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.02009, allocations: 0 / 269.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.0201, allocations: 0 / 269.2 MB, free: 6.305 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.00262/0.02272, allocations: 1.854 MB / 271 MB, free: 4.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.02276, allocations: 8.031 kB / 271.1 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.02494, allocations: 0.7805 MB / 271.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.02541, allocations: 442.4 kB / 272.3 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.768e-05/0.02547, allocations: 94.61 kB / 272.4 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.02559, allocations: 115.9 kB / 272.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/0.02638, allocations: 0.7061 MB / 273.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.02641, allocations: 0 / 273.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.02648, allocations: 52 kB / 273.2 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.02649, allocations: 28 kB / 273.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005831/0.02707, allocations: 472.8 kB / 273.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.03036, allocations: 2.858 MB / 276.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/0.03121, allocations: 0.7381 MB / 277.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.03148, allocations: 250.3 kB / 277.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.03154, allocations: 28.98 kB / 277.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.03192, allocations: 418.7 kB / 278 MB, free: 13.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 2.284e-06/0.03192, allocations: 0 / 278 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=127): time 0.003428/0.03535, allocations: 2.482 MB / 280.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.03541, allocations: 145.5 kB / 280.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.03569, allocations: 422.3 kB / 281 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.03573, allocations: 49.7 kB / 281.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.03597, allocations: 0.4917 MB / 281.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.03621, allocations: 460 kB / 282 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.03643, allocations: 236.4 kB / 282.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.03661, allocations: 0.5624 MB / 282.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.03681, allocations: 150.5 kB / 283 MB, free: 8.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.03718, allocations: 0.5247 MB / 283.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.03777, allocations: 0.6831 MB / 284.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.03778, allocations: 0 / 284.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001165/0.03894, allocations: 1.03 MB / 285.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.03896, allocations: 8 kB / 285.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.03897, allocations: 8 kB / 285.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/0.03972, allocations: 370.6 kB / 285.6 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.04018, allocations: 219.7 kB / 285.8 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/0.04501, allocations: 9.157 MB / 294.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.04548, allocations: 47.98 kB / 295 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.04553, allocations: 44.03 kB / 295 MB, free: 11.3 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.0003017/0.04583, allocations: 244.2 kB / 295.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.04596, allocations: 111.5 kB / 295.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.04756, allocations: 0.9294 MB / 296.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.04757, allocations: 12 kB / 296.3 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.04758, allocations: 8 kB / 296.3 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.0476, allocations: 3.984 kB / 296.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.05041, allocations: 1.78 MB / 298.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.05042, allocations: 3.938 kB / 298.1 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.05085, allocations: 151.8 kB / 298.3 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007096/0.05156, allocations: 358.5 kB / 298.6 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.0516, allocations: 24 kB / 298.6 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004947/0.05655, allocations: 8.793 MB / 307.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.05656, allocations: 3.984 kB / 307.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.05807, allocations: 1.27 MB / 308.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.0583, allocations: 143.5 kB / 308.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.05837, allocations: 28 kB / 308.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.05862, allocations: 43.98 kB / 308.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.05881, allocations: 100.8 kB / 309 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.05885, allocations: 27.98 kB / 309 MB, free: 12.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.05904, allocations: 259 kB / 309.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05904, allocations: 0 / 309.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001077/0.06012, allocations: 319.9 kB / 309.6 MB, free: 12.07 MB / 298.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.0002503/0.06037, allocations: 171 kB / 309.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.06183, allocations: 1.511 MB / 311.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.06183, allocations: 0 / 311.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008648/0.0627, allocations: 1.212 MB / 312.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.06306, allocations: 77.48 kB / 312.6 MB, free: 8.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.06567, allocations: 1.845 MB / 314.4 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.06585, allocations: 215.7 kB / 314.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.06612, allocations: 102.2 kB / 314.7 MB, free: 6.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.06635, allocations: 174.2 kB / 314.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.06635, allocations: 0 / 314.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of Templates: time 0.01671/0.08306, allocations: 12.34 MB / 327.2 MB, free: 10.21 MB / 314.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.0916435890831053]