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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001028, allocations: 179.2 kB / 17.03 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 223.3 MB / 241 MB, free: 11.83 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007512/0.0007512, allocations: 84.84 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002225, allocations: 11.94 kB / 351.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1872, allocations: 50.4 MB / 402.2 MB, free: 32.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.004205/0.1915, allocations: 5.588 MB / 407.8 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.1942, allocations: 2.269 MB / 410.1 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.1946, allocations: 19.94 kB / 410.1 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004769/0.1951, allocations: 266.6 kB / 410.3 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009328/0.196, allocations: 0.5643 MB / 410.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1973, allocations: 0.8837 MB / 411.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.1981, allocations: 0.9812 MB / 412.8 MB, free: 22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.1995, allocations: 1.174 MB / 413.9 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.1998, allocations: 350.6 kB / 414.3 MB, free: 20.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.2002, allocations: 478 kB / 414.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.157e-05/0.2003, allocations: 51.94 kB / 414.8 MB, free: 19.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.2008, allocations: 339.6 kB / 415.1 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.272e-05/0.2009, allocations: 175.2 kB / 415.3 MB, free: 19.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.2011, allocations: 201.2 kB / 415.5 MB, free: 19.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.2017, allocations: 1.112 MB / 416.6 MB, free: 18.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2018, allocations: 0 / 416.6 MB, free: 18.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2018, allocations: 0 / 416.6 MB, free: 18.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.2018, allocations: 0 / 416.6 MB, free: 18.1 MB / 298.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.003316/0.2051, allocations: 1.46 MB / 418.1 MB, free: 16.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2052, allocations: 8.031 kB / 418.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.208, allocations: 486.3 kB / 418.6 MB, free: 16.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.2084, allocations: 481.3 kB / 419 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.2085, allocations: 82.22 kB / 419.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.2086, allocations: 115.9 kB / 419.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2101, allocations: 0.9744 MB / 420.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2101, allocations: 0 / 420.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/0.2102, allocations: 48 kB / 420.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2102, allocations: 28 kB / 420.3 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.2117, allocations: 0.9613 MB / 421.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.2159, allocations: 3.709 MB / 424.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.2173, allocations: 1.541 MB / 426.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.2179, allocations: 432.4 kB / 426.9 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.218, allocations: 94.17 kB / 427 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006703/0.2187, allocations: 482.4 kB / 427.5 MB, free: 6.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 2.385e-06/0.2187, allocations: 0 / 427.5 MB, free: 6.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.007173/0.2259, allocations: 4.029 MB / 431.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.226, allocations: 149.5 kB / 431.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.2263, allocations: 393.5 kB / 432 MB, free: 1.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.2263, allocations: 45.7 kB / 432.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.2265, allocations: 415.8 kB / 432.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.2267, allocations: 421.8 kB / 432.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.2268, allocations: 24 kB / 432.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.2268, allocations: 382.8 kB / 433.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/0.2274, allocations: 358.4 kB / 433.6 MB, free: 340 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.2282, allocations: 0.5318 MB / 434.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.2289, allocations: 430.9 kB / 434.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.229, allocations: 0 / 434.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002349/0.2313, allocations: 1.379 MB / 436 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2313, allocations: 14.75 kB / 436 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2314, allocations: 4 kB / 436 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008253/0.2322, allocations: 350.2 kB / 436.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008078/0.233, allocations: 203.7 kB / 436.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006591/0.2396, allocations: 7.729 MB / 444.3 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.2403, allocations: 51.94 kB / 444.3 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.2404, allocations: 40 kB / 444.3 MB, free: 5.012 MB / 314.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,$PRE.rootMeanSquare.mean.y_last,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 (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.0004039/0.2408, allocations: 261.8 kB / 444.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.2409, allocations: 75.14 kB / 444.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/0.2432, allocations: 1.301 MB / 446 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.2433, allocations: 15.98 kB / 446 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2433, allocations: 11.94 kB / 446 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2433, allocations: 3.984 kB / 446 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.247, allocations: 2.539 MB / 448.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.247, allocations: 0 / 448.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.2476, allocations: 160 kB / 448.7 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007223/0.2484, allocations: 319.2 kB / 449 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.2484, allocations: 31.98 kB / 449 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006096/0.2545, allocations: 7.439 MB / 456.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2546, allocations: 0 / 456.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.2576, allocations: 1.815 MB / 458.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.2579, allocations: 224.1 kB / 458.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.258, allocations: 27.95 kB / 458.5 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.2585, allocations: 39.98 kB / 458.6 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.2586, allocations: 92.86 kB / 458.7 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.2587, allocations: 36 kB / 458.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000276/0.259, allocations: 267.2 kB / 459 MB, free: 5.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.259, allocations: 4 kB / 459 MB, free: 5.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00111/0.2601, allocations: 316 kB / 459.3 MB, free: 5.336 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (85): * Single equations (assignments): 80 * 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,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000287/0.2604, allocations: 167 kB / 459.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.263, allocations: 1.62 MB / 461.1 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.263, allocations: 1.062 kB / 461.1 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.2645, allocations: 1.154 MB / 462.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.265, allocations: 77.44 kB / 462.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.2684, allocations: 2.417 MB / 464.7 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.269, allocations: 1.017 MB / 465.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.2692, allocations: 71.41 kB / 465.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2692, allocations: 0 / 465.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of Templates: time 0.02515/0.2943, allocations: 26.12 MB / 491.9 MB, free: 4.445 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches