Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.000897, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008677/0.0008677, allocations: 148.6 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9512/0.9512, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.697e-05, allocations: 6.109 kB / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005501/0.005518, allocations: 6.288 MB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.008497, allocations: 2.541 MB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.00874, allocations: 23.94 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.01047, allocations: 1.337 MB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000865/0.01134, allocations: 0.6791 MB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.01247, allocations: 1.058 MB / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007412/0.01322, allocations: 1.109 MB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007403/0.01396, allocations: 0.8129 MB / 282.4 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.01442, allocations: 0.6586 MB / 283 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.01481, allocations: 426.8 kB / 283.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.868e-05/0.0149, allocations: 100 kB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.01539, allocations: 399.4 kB / 283.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.01552, allocations: 235.1 kB / 284.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.01574, allocations: 363.1 kB / 284.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008667/0.01661, allocations: 1.078 MB / 285.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.01661, allocations: 4 kB / 285.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01661, allocations: 0 / 285.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01661, allocations: 0 / 285.6 MB, free: 4.793 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.002361/0.01898, allocations: 1.616 MB / 287.2 MB, free: 3.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.01901, allocations: 8.922 kB / 287.2 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.02075, allocations: 0.6757 MB / 287.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.0211, allocations: 303.8 kB / 288.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.02115, allocations: 86.59 kB / 288.3 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/0.02124, allocations: 124 kB / 288.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.02188, allocations: 0.705 MB / 289.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.02191, allocations: 0 / 289.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.02196, allocations: 48 kB / 289.1 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.02197, allocations: 24 kB / 289.2 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.02241, allocations: 368.2 kB / 289.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/0.144, allocations: 2.296 MB / 291.8 MB, free: 20.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.1447, allocations: 0.6101 MB / 292.4 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.145, allocations: 213.6 kB / 292.6 MB, free: 20.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.37e-05/0.1451, allocations: 27.91 kB / 292.7 MB, free: 20.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.1455, allocations: 393.2 kB / 293.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.426e-06/0.1455, allocations: 0 / 293.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.00338/0.1488, allocations: 2.169 MB / 295.2 MB, free: 20.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1489, allocations: 142 kB / 295.4 MB, free: 19.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1491, allocations: 342 kB / 295.7 MB, free: 19.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.1491, allocations: 44.02 kB / 295.7 MB, free: 19.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1493, allocations: 405.7 kB / 296.1 MB, free: 19.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.1494, allocations: 366.5 kB / 296.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.1496, allocations: 177.5 kB / 296.7 MB, free: 19.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.1496, allocations: 379.5 kB / 297 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1498, allocations: 109.4 kB / 297.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.15, allocations: 358.4 kB / 297.5 MB, free: 18.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.1505, allocations: 494.1 kB / 298 MB, free: 18.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1505, allocations: 1.891 kB / 298 MB, free: 18.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.000754/0.1512, allocations: 0.6404 MB / 298.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1512, allocations: 8.547 kB / 298.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1512, allocations: 3.125 kB / 298.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/0.1517, allocations: 215.7 kB / 298.8 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.1521, allocations: 214 kB / 299 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.1541, allocations: 4.502 MB / 303.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.1544, allocations: 40.7 kB / 303.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.1544, allocations: 27.42 kB / 303.6 MB, free: 14.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * 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.0001488/0.1545, allocations: 177.9 kB / 303.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.1546, allocations: 74.02 kB / 303.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.1553, allocations: 0.5974 MB / 304.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1553, allocations: 13.34 kB / 304.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1553, allocations: 8.062 kB / 304.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1553, allocations: 5.625 kB / 304.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1565, allocations: 1.069 MB / 305.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1565, allocations: 0 / 305.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.1568, allocations: 163.4 kB / 305.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003701/0.1572, allocations: 217.4 kB / 305.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.1572, allocations: 20.52 kB / 305.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.1588, allocations: 4.504 MB / 310.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1588, allocations: 3.438 kB / 310.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.1595, allocations: 0.8132 MB / 311.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1596, allocations: 76.05 kB / 311.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.1596, allocations: 28.41 kB / 311.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1598, allocations: 35.5 kB / 311.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.1599, allocations: 72.16 kB / 311.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.1599, allocations: 20.45 kB / 311.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.656e-05/0.16, allocations: 132.4 kB / 311.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.16, allocations: 0 / 311.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005417/0.1606, allocations: 264.4 kB / 311.9 MB, free: 10.14 MB / 266.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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 76 * 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.0001589/0.1607, allocations: 153.4 kB / 312 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.1613, allocations: 0.9138 MB / 312.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.1614, allocations: 3.781 kB / 313 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.1618, allocations: 0.7173 MB / 313.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.162, allocations: 73.81 kB / 313.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1637, allocations: 1.584 MB / 315.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1638, allocations: 186 kB / 315.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002267/0.1641, allocations: 88.8 kB / 315.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.1642, allocations: 147.8 kB / 315.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1642, allocations: 0 / 315.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of Templates: time 0.01087/0.1751, allocations: 9.542 MB / 325.3 MB, free: 15.54 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.853675485122949]