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.0009317/0.0009317, allocations: 68.08 kB / 21.69 MB, free: 2.859 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.0009328/0.0009328, allocations: 142.5 kB / 24.97 MB, free: 9.344 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.9023/0.9023, allocations: 173.4 MB / 201.5 MB, free: 9.34 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.643e-06/1.643e-06, allocations: 0 / 268.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.753e-05, allocations: 6.25 kB / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008343/0.008371, allocations: 6.354 MB / 274.4 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004598/0.01297, allocations: 2.472 MB / 276.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.01358, allocations: 19.94 kB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.01605, allocations: 1.329 MB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.01758, allocations: 0.6832 MB / 278.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.01943, allocations: 1.066 MB / 280 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.02072, allocations: 1.102 MB / 281.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.02191, allocations: 0.7661 MB / 281.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.02273, allocations: 0.651 MB / 282.5 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.02336, allocations: 426.8 kB / 282.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.02352, allocations: 96 kB / 283 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007986/0.02432, allocations: 391.3 kB / 283.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.0245, allocations: 239.1 kB / 283.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003945/0.0249, allocations: 363.1 kB / 284 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.02635, allocations: 1.067 MB / 285.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.02636, allocations: 0 / 285.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02636, allocations: 0 / 285.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.02637, allocations: 0 / 285.1 MB, free: 5.656 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.004068/0.03044, allocations: 1.811 MB / 286.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.03048, allocations: 16.91 kB / 286.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.03389, allocations: 0.6479 MB / 287.5 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.03461, allocations: 434.5 kB / 288 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.03469, allocations: 82.59 kB / 288 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.03487, allocations: 124.1 kB / 288.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.03643, allocations: 0.7637 MB / 288.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.03647, allocations: 11.92 kB / 288.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.681e-05/0.03657, allocations: 51.94 kB / 289 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.03659, allocations: 28 kB / 289 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.03802, allocations: 0.536 MB / 289.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/0.1601, allocations: 2.85 MB / 292.4 MB, free: 31.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1611, allocations: 0.7236 MB / 293.1 MB, free: 31.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.1616, allocations: 277.8 kB / 293.4 MB, free: 31.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.1616, allocations: 29.89 kB / 293.4 MB, free: 31.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005069/0.1621, allocations: 441.5 kB / 293.9 MB, free: 30.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.785e-06/0.1621, allocations: 0 / 293.9 MB, free: 30.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004717/0.1669, allocations: 2.912 MB / 296.8 MB, free: 29.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.1669, allocations: 142.9 kB / 296.9 MB, free: 29.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.1672, allocations: 414.2 kB / 297.3 MB, free: 29.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.1673, allocations: 47.86 kB / 297.4 MB, free: 29.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1674, allocations: 484.7 kB / 297.8 MB, free: 29.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.1676, allocations: 441.1 kB / 298.3 MB, free: 28.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.1679, allocations: 212.1 kB / 298.5 MB, free: 28.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.168, allocations: 0.5591 MB / 299 MB, free: 28.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.1683, allocations: 195.4 kB / 299.2 MB, free: 28.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.1687, allocations: 0.5084 MB / 299.7 MB, free: 27.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.1695, allocations: 0.695 MB / 300.4 MB, free: 27.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.1695, allocations: 1.188 kB / 300.4 MB, free: 27.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001495/0.171, allocations: 1.094 MB / 301.5 MB, free: 26.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.171, allocations: 7.75 kB / 301.5 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.171, allocations: 4.812 kB / 301.5 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009303/0.172, allocations: 395 kB / 301.9 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.1724, allocations: 201 kB / 302.1 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/0.1764, allocations: 9.374 MB / 311.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.1768, allocations: 43.8 kB / 311.5 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.1768, allocations: 45.06 kB / 311.6 MB, free: 18.33 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 (114): * Single equations (assignments): 110 * 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.0002269/0.1771, allocations: 233.4 kB / 311.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.1772, allocations: 114.8 kB / 311.9 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.1783, allocations: 0.9987 MB / 312.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1783, allocations: 11.78 kB / 312.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1783, allocations: 7.719 kB / 312.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1784, allocations: 6.047 kB / 312.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.1804, allocations: 1.939 MB / 314.9 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1804, allocations: 0 / 314.9 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.1807, allocations: 151.8 kB / 315 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006889/0.1814, allocations: 375.7 kB / 315.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.1815, allocations: 31.92 kB / 315.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.1847, allocations: 8.988 MB / 324.4 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1847, allocations: 4 kB / 324.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.1861, allocations: 1.394 MB / 325.8 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.1863, allocations: 143.5 kB / 326 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.1864, allocations: 31.05 kB / 326 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.1866, allocations: 43.92 kB / 326 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.1868, allocations: 100.8 kB / 326.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.1868, allocations: 32 kB / 326.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1869, allocations: 263.1 kB / 326.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1869, allocations: 0 / 326.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008716/0.1878, allocations: 315.9 kB / 326.7 MB, free: 3.859 MB / 266.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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * 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.0002371/0.188, allocations: 180.5 kB / 326.9 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.1893, allocations: 1.561 MB / 328.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1893, allocations: 1.062 kB / 328.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.19, allocations: 1.256 MB / 329.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1904, allocations: 76.28 kB / 329.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.1929, allocations: 1.796 MB / 331.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.193, allocations: 203.6 kB / 331.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.1933, allocations: 105.9 kB / 331.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.1934, allocations: 56.48 kB / 331.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1934, allocations: 0 / 331.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of Templates: time 0.01446/0.2079, allocations: 11.11 MB / 343.1 MB, free: 3.422 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 -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: 3.1004804170224816]