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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 103.2 kB / 16.94 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 183.5 kB / 17.83 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004561, allocations: 11.44 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09859, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006857/0.1055, allocations: 5.22 MB / 333.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.1109, allocations: 2.339 MB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006009/0.1116, allocations: 23.94 kB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007825/0.1124, allocations: 274.4 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.1141, allocations: 0.6309 MB / 336.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.116, allocations: 0.8841 MB / 337.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.1171, allocations: 0.7339 MB / 338.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.119, allocations: 1.163 MB / 339.6 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.1195, allocations: 370.5 kB / 339.9 MB, free: 8.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.1201, allocations: 470 kB / 340.4 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.601e-05/0.1201, allocations: 48 kB / 340.5 MB, free: 7.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.1209, allocations: 315.6 kB / 340.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1211, allocations: 167.3 kB / 340.9 MB, free: 7.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.1213, allocations: 205.2 kB / 341.1 MB, free: 7.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1224, allocations: 1.11 MB / 342.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1224, allocations: 0 / 342.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1224, allocations: 0 / 342.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.1224, allocations: 0 / 342.2 MB, free: 6.074 MB / 286.1 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.003937/0.1264, allocations: 1.48 MB / 343.7 MB, free: 4.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1264, allocations: 8.031 kB / 343.7 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/0.1303, allocations: 0.5802 MB / 344.3 MB, free: 3.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007691/0.1311, allocations: 493.3 kB / 344.8 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/0.1312, allocations: 82.3 kB / 344.9 MB, free: 3.348 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.1314, allocations: 116 kB / 345 MB, free: 3.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.1332, allocations: 0.9911 MB / 346 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.1332, allocations: 11.91 kB / 346 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.1333, allocations: 47.98 kB / 346 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.1333, allocations: 28 kB / 346.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.1352, allocations: 1.028 MB / 347.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005831/0.141, allocations: 3.889 MB / 351 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.1432, allocations: 2.056 MB / 353 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.1433, allocations: 102.2 kB / 353.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000822/0.1442, allocations: 482.4 kB / 353.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 3.056e-06/0.1442, allocations: 0 / 353.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=124): time 0.008561/0.1528, allocations: 3.951 MB / 357.6 MB, free: 5.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.1529, allocations: 141.5 kB / 357.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.1533, allocations: 417.7 kB / 358.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.1534, allocations: 45.7 kB / 358.1 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.1537, allocations: 447.4 kB / 358.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.154, allocations: 410 kB / 359 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.154, allocations: 28 kB / 359 MB, free: 4.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1542, allocations: 378.8 kB / 359.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/0.1549, allocations: 358.5 kB / 359.7 MB, free: 3.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008353/0.1558, allocations: 0.5763 MB / 360.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007961/0.1566, allocations: 444.3 kB / 360.7 MB, free: 2.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1566, allocations: 3.953 kB / 360.7 MB, free: 2.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002489/0.1591, allocations: 1.415 MB / 362.2 MB, free: 1.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1591, allocations: 8 kB / 362.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1591, allocations: 4 kB / 362.2 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008231/0.16, allocations: 347 kB / 362.5 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.1609, allocations: 219.6 kB / 362.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007251/0.1681, allocations: 7.786 MB / 370.5 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/0.169, allocations: 51.97 kB / 370.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.1691, allocations: 48 kB / 370.6 MB, free: 8.207 MB / 318.1 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,$PRE.rootMeanSquare.mean.y,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): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004702/0.1696, allocations: 265.6 kB / 370.9 MB, free: 7.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1697, allocations: 71.16 kB / 370.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.1721, allocations: 1.293 MB / 372.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.1721, allocations: 12 kB / 372.2 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.1722, allocations: 8 kB / 372.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.1722, allocations: 11.92 kB / 372.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.1761, allocations: 2.435 MB / 374.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.1762, allocations: 8.062 kB / 374.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/0.1768, allocations: 155.8 kB / 374.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008018/0.1777, allocations: 339 kB / 375.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.1777, allocations: 27.98 kB / 375.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1965/0.3743, allocations: 7.51 MB / 382.7 MB, free: 47.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3743, allocations: 0 / 382.7 MB, free: 47.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/0.3781, allocations: 1.797 MB / 384.5 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.3786, allocations: 223.6 kB / 384.7 MB, free: 46.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3787, allocations: 25.12 kB / 384.8 MB, free: 46.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.3792, allocations: 40.39 kB / 384.8 MB, free: 46.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.3794, allocations: 88.91 kB / 384.9 MB, free: 46.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.3795, allocations: 40.08 kB / 384.9 MB, free: 46.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.3798, allocations: 272.5 kB / 385.2 MB, free: 46.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3798, allocations: 1.031 kB / 385.2 MB, free: 46.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001243/0.381, allocations: 320.6 kB / 385.5 MB, free: 46.74 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 19,(1,100.0%) 2,(1,100.0%) 4,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002745/0.3813, allocations: 159.9 kB / 385.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.3839, allocations: 1.633 MB / 387.3 MB, free: 45.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3839, allocations: 1 kB / 387.3 MB, free: 45.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.3854, allocations: 1.15 MB / 388.4 MB, free: 45.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3858, allocations: 49.81 kB / 388.5 MB, free: 45.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.3895, allocations: 2.38 MB / 390.9 MB, free: 43.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.3901, allocations: 1.043 MB / 391.9 MB, free: 43.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000506/0.3906, allocations: 106.2 kB / 392 MB, free: 43.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3908, allocations: 61.11 kB / 392.1 MB, free: 43.03 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3908, allocations: 0 / 392.1 MB, free: 43.03 MB / 318.1 MB Notification: Performance of Templates: time 0.01783/0.4087, allocations: 10.09 MB / 402.2 MB, free: 39.91 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile Environment - environmentSimulation: (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches