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.0009699/0.0009699, 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.0009578/0.0009578, allocations: 171 kB / 25.7 MB, free: 8.445 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.7955/0.7955, allocations: 158.6 MB / 187.6 MB, free: 2.77 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.453e-06/1.453e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.238e-06/1.069e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005066/0.005076, allocations: 6.22 MB / 257.8 MB, free: 1.004 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.008508, allocations: 2.585 MB / 260.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.008871, allocations: 23.94 kB / 260.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.01039, allocations: 1.356 MB / 261.7 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009311/0.01132, allocations: 0.5587 MB / 262.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.01259, allocations: 1.206 MB / 263.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.01345, allocations: 1.137 MB / 264.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007735/0.01422, allocations: 0.8285 MB / 265.4 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.01475, allocations: 0.6626 MB / 266.1 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.01514, allocations: 442.7 kB / 266.5 MB, free: 8.148 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.01524, allocations: 96 kB / 266.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.01573, allocations: 391.4 kB / 267 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.01585, allocations: 247 kB / 267.3 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.01609, allocations: 375 kB / 267.6 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.01696, allocations: 1.082 MB / 268.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01696, allocations: 4 kB / 268.7 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01696, allocations: 4 kB / 268.7 MB, free: 5.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.01697, allocations: 0 / 268.7 MB, free: 5.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.002125/0.0191, allocations: 1.631 MB / 270.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.01912, allocations: 8.031 kB / 270.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.02111, allocations: 0.8317 MB / 271.2 MB, free: 3.469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.02149, allocations: 303.8 kB / 271.5 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.02154, allocations: 86.67 kB / 271.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.02165, allocations: 123.9 kB / 271.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.02234, allocations: 0.7216 MB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.02236, allocations: 11.97 kB / 272.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.02242, allocations: 48 kB / 272.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.02244, allocations: 28 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.02291, allocations: 401 kB / 272.9 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.02573, allocations: 2.374 MB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/0.02645, allocations: 0.6587 MB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.02668, allocations: 227.3 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.375e-05/0.02675, allocations: 24.98 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.02706, allocations: 397.8 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 2.154e-06/0.02706, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=105): time 0.003047/0.03011, allocations: 2.196 MB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.03017, allocations: 141.5 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.03037, allocations: 363 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.03041, allocations: 41.7 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.03058, allocations: 432.9 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.03075, allocations: 372.8 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.03092, allocations: 190.8 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.03101, allocations: 378.6 kB / 280.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.03114, allocations: 114.6 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.03139, allocations: 405.2 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.03182, allocations: 0.5421 MB / 281.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.03182, allocations: 8 kB / 281.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006724/0.0325, allocations: 0.6652 MB / 282.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.03251, allocations: 11.94 kB / 282.4 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.03252, allocations: 8 kB / 282.4 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/0.03293, allocations: 206.7 kB / 282.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.03333, allocations: 207.7 kB / 282.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.03556, allocations: 4.481 MB / 287.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.03581, allocations: 43.98 kB / 287.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.03584, allocations: 35.98 kB / 287.3 MB, free: 2.496 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.0001679/0.03601, allocations: 180.3 kB / 287.5 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.03608, allocations: 76.08 kB / 287.6 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006414/0.03672, allocations: 0.6103 MB / 288.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.03673, allocations: 12 kB / 288.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.03673, allocations: 4 kB / 288.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.03674, allocations: 7.969 kB / 288.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.03793, allocations: 1.085 MB / 289.3 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.03794, allocations: 8 kB / 289.3 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.03824, allocations: 139.9 kB / 289.4 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.03861, allocations: 214.3 kB / 289.7 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.03864, allocations: 23.98 kB / 289.7 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.04075, allocations: 4.481 MB / 294.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.04075, allocations: 0 / 294.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/0.04153, allocations: 0.8294 MB / 295 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.04166, allocations: 75.56 kB / 295.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.04171, allocations: 23.98 kB / 295.1 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.04189, allocations: 32.19 kB / 295.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.04198, allocations: 76.78 kB / 295.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.04201, allocations: 31.97 kB / 295.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.211e-05/0.0421, allocations: 140.7 kB / 295.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0421, allocations: 0 / 295.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005466/0.04265, allocations: 271.9 kB / 295.6 MB, free: 9.824 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.0001791/0.04283, allocations: 152.2 kB / 295.8 MB, free: 9.668 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007684/0.0436, allocations: 0.9236 MB / 296.7 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.04361, allocations: 8.5 kB / 296.7 MB, free: 8.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.0441, allocations: 0.7179 MB / 297.4 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.04435, allocations: 69.42 kB / 297.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.04625, allocations: 1.641 MB / 299.1 MB, free: 6.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.04638, allocations: 194.4 kB / 299.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000233/0.04661, allocations: 97.42 kB / 299.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.0468, allocations: 143.3 kB / 299.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.0468, allocations: 0 / 299.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of Templates: time 0.02421/0.07101, allocations: 9.514 MB / 309.1 MB, free: 12.23 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 -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.8645453499630094]