Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9817/0.9817, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.892e-05, allocations: 5.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008181/0.008209, allocations: 6.335 MB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005033/0.01324, allocations: 2.619 MB / 282.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000563/0.01381, allocations: 20 kB / 282.4 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.01542, allocations: 1.345 MB / 283.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.01653, allocations: 0.5431 MB / 284.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.01801, allocations: 1.194 MB / 285.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.01914, allocations: 1.121 MB / 286.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009471/0.02008, allocations: 0.8168 MB / 287.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.02075, allocations: 0.6626 MB / 288.1 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005065/0.02126, allocations: 426.8 kB / 288.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.02138, allocations: 96 kB / 288.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007819/0.02217, allocations: 415.4 kB / 289 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.0223, allocations: 239 kB / 289.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.02256, allocations: 367.1 kB / 289.6 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1273/0.1499, allocations: 1.082 MB / 290.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1499, allocations: 0.5312 kB / 290.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1499, allocations: 0 / 290.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.08e-05/0.1499, allocations: 1.641 kB / 290.7 MB, free: 17.88 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.003122/0.153, allocations: 1.632 MB / 292.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1531, allocations: 10.06 kB / 292.3 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.1552, allocations: 0.6748 MB / 293 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.1557, allocations: 310.8 kB / 293.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.1558, allocations: 83.12 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1559, allocations: 120.6 kB / 293.5 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009638/0.1568, allocations: 0.7003 MB / 294.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.1569, allocations: 9.953 kB / 294.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.1569, allocations: 46.5 kB / 294.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.157, allocations: 28.28 kB / 294.3 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.1575, allocations: 368.9 kB / 294.6 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.1607, allocations: 2.316 MB / 297 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.1615, allocations: 0.5931 MB / 297.5 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.1618, allocations: 221.3 kB / 297.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.872e-05/0.1619, allocations: 37.14 kB / 297.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.1623, allocations: 391.7 kB / 298.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.665e-06/0.1623, allocations: 0 / 298.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003612/0.1659, allocations: 2.183 MB / 300.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.166, allocations: 140.5 kB / 300.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1662, allocations: 348.1 kB / 300.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.1662, allocations: 43.95 kB / 300.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1664, allocations: 417 kB / 301.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.1666, allocations: 365.4 kB / 301.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.1668, allocations: 180.3 kB / 301.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.1669, allocations: 377.8 kB / 302.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.167, allocations: 115 kB / 302.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.1673, allocations: 365.4 kB / 302.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.1677, allocations: 0.4938 MB / 303.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1677, allocations: 4 kB / 303.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0006609/0.1684, allocations: 0.6329 MB / 303.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1684, allocations: 7.031 kB / 303.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1684, allocations: 6.375 kB / 303.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.1689, allocations: 219.2 kB / 304 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.1693, allocations: 217.5 kB / 304.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.1713, allocations: 4.499 MB / 308.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.1717, allocations: 38.67 kB / 308.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.1717, allocations: 30.31 kB / 308.8 MB, free: 10.02 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.0002978/0.172, allocations: 177.4 kB / 309 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1722, allocations: 75.31 kB / 309 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008659/0.173, allocations: 0.5944 MB / 309.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.173, allocations: 10.09 kB / 309.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.173, allocations: 3.344 kB / 309.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.173, allocations: 13.47 kB / 309.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.1746, allocations: 1.077 MB / 310.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1746, allocations: 0 / 310.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.175, allocations: 156 kB / 310.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.1755, allocations: 217.5 kB / 311.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.1756, allocations: 23.06 kB / 311.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.1776, allocations: 4.507 MB / 315.6 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1776, allocations: 4 kB / 315.6 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.1785, allocations: 0.8159 MB / 316.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.1787, allocations: 78.66 kB / 316.5 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.1788, allocations: 23.47 kB / 316.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.179, allocations: 28 kB / 316.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.1791, allocations: 76.84 kB / 316.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.1792, allocations: 23.98 kB / 316.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1793, allocations: 130.7 kB / 316.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1793, allocations: 0 / 316.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009168/0.1802, allocations: 264 kB / 317.1 MB, free: 3.559 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.000209/0.1804, allocations: 157.8 kB / 317.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008828/0.1813, allocations: 0.92 MB / 318.1 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.1813, allocations: 4 kB / 318.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005338/0.1818, allocations: 0.7231 MB / 318.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1822, allocations: 72.02 kB / 318.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.1845, allocations: 1.567 MB / 320.5 MB, free: 112 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.1846, allocations: 186.3 kB / 320.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.185, allocations: 101.3 kB / 320.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.1852, allocations: 143.3 kB / 320.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1852, allocations: 0 / 320.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of Templates: time 0.01673/0.202, allocations: 9.858 MB / 330.8 MB, free: 5.984 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.920554135926068]