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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 82.7 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.494e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.07515, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.3444, allocations: 90.3 MB / 453.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.3447, allocations: 86.88 kB / 453.5 MB, free: 5.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06944/0.4141, allocations: 30.27 MB / 483.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4142, allocations: 0 / 483.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.4142, allocations: 20 kB / 483.7 MB, free: 12.71 MB / 362.7 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.003071/0.4173, allocations: 1.239 MB / 485 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4173, allocations: 8.031 kB / 485 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/0.4201, allocations: 470.3 kB / 485.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.4208, allocations: 0.4957 MB / 485.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.4209, allocations: 43.98 kB / 486 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.4211, allocations: 68 kB / 486.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/0.4226, allocations: 0.9066 MB / 487 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.4241, allocations: 0.7798 MB / 487.7 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.4241, allocations: 3.906 kB / 487.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.4242, allocations: 0 / 487.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.4242, allocations: 32 kB / 487.8 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005491/0.4297, allocations: 3.718 MB / 491.5 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.4315, allocations: 1.977 MB / 493.5 MB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.4321, allocations: 387.8 kB / 493.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.4322, allocations: 105.8 kB / 494 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006191/0.4329, allocations: 444 kB / 494.4 MB, free: 1.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 2.564e-06/0.4329, allocations: 4 kB / 494.4 MB, free: 1.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.006729/0.4396, allocations: 3.413 MB / 497.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/0.4397, allocations: 230.9 kB / 498 MB, free: 13.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.4401, allocations: 314.1 kB / 498.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.4401, allocations: 25.7 kB / 498.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.4405, allocations: 443.3 kB / 498.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.4408, allocations: 401.9 kB / 499.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.4408, allocations: 0 / 499.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.441, allocations: 378.8 kB / 499.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.4415, allocations: 294.6 kB / 499.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.4421, allocations: 0.5251 MB / 0.4886 GB, free: 11.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.4432, allocations: 0.5189 MB / 0.4892 GB, free: 10.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4432, allocations: 0 / 0.4892 GB, free: 10.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002589/0.4458, allocations: 1.361 MB / 0.4905 GB, free: 9.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.4459, allocations: 8 kB / 0.4905 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.4459, allocations: 11.95 kB / 0.4905 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008433/0.4467, allocations: 335.2 kB / 0.4908 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.4476, allocations: 215.6 kB / 0.491 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.4544, allocations: 7.345 MB / 0.4982 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.4552, allocations: 27.98 kB / 0.4982 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.4553, allocations: 56.17 kB / 0.4983 GB, free: 0.8086 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete 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,(2,100.0%) 18,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.4555, allocations: 124.7 kB / 0.4984 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.4556, allocations: 75.14 kB / 0.4985 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.4581, allocations: 1.242 MB / 0.4997 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4581, allocations: 12 kB / 0.4997 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.4581, allocations: 11.95 kB / 0.4997 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.4581, allocations: 7.969 kB / 0.4997 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.4619, allocations: 2.524 MB / 0.5022 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.462, allocations: 8.125 kB / 0.5022 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.4627, allocations: 151.8 kB / 0.5023 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007521/0.4634, allocations: 315.2 kB / 0.5026 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.4635, allocations: 11.98 kB / 0.5026 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006225/0.4697, allocations: 7.081 MB / 0.5096 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4697, allocations: 0 / 0.5096 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.4727, allocations: 1.776 MB / 0.5113 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.4731, allocations: 224.3 kB / 0.5115 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.4732, allocations: 7.984 kB / 0.5115 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.4737, allocations: 19.92 kB / 0.5115 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.4738, allocations: 89.19 kB / 0.5116 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.4739, allocations: 39.98 kB / 0.5117 GB, free: 2.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002428/0.4741, allocations: 232.6 kB / 0.5119 GB, free: 2.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4741, allocations: 0 / 0.5119 GB, free: 2.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001105/0.4753, allocations: 275.9 kB / 0.5121 GB, free: 1.969 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * 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%) 2,(2,100.0%) 18,(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.000304/0.4756, allocations: 186.7 kB / 0.5123 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.4776, allocations: 1.482 MB / 0.5138 GB, free: 260 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4777, allocations: 0 / 0.5138 GB, free: 260 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.479, allocations: 1.043 MB / 0.5148 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4793, allocations: 29.33 kB / 0.5148 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.4839, allocations: 1.945 MB / 0.5167 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.4845, allocations: 1.048 MB / 0.5177 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005062/0.485, allocations: 102.1 kB / 0.5178 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.4852, allocations: 55.42 kB / 0.5179 GB, free: 11.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4852, allocations: 0 / 0.5179 GB, free: 11.93 MB / 410.7 MB Notification: Performance of Templates: time 0.01594/0.5012, allocations: 9.527 MB / 0.5272 GB, free: 2.395 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (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) 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