Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001805/0.001805, allocations: 183.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4221, allocations: 60.82 MB / 0.5189 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00375/0.4259, allocations: 2.474 MB / 0.5213 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.428, allocations: 1.036 MB / 0.5223 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.4282, allocations: 9.594 kB / 0.5223 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.4299, allocations: 0.4905 MB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.4304, allocations: 107.8 kB / 0.5229 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.4319, allocations: 0.6352 MB / 0.5235 GB, free: 368 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.4325, allocations: 222.6 kB / 0.5237 GB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006877/0.4332, allocations: 251.8 kB / 0.524 GB, free: 124 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.4334, allocations: 100.6 kB / 0.5241 GB, free: 72 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.4337, allocations: 128.6 kB / 0.5242 GB, free: 4 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.4337, allocations: 21.56 kB / 0.5242 GB, free: 4 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.4341, allocations: 143.2 kB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.4342, allocations: 50.44 kB / 0.5244 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.4343, allocations: 116.3 kB / 0.5245 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.4349, allocations: 396.6 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4349, allocations: 0.6094 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.435, allocations: 0 / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.435, allocations: 1.25 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001371/0.4363, allocations: 0.6169 MB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4364, allocations: 9.594 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.4368, allocations: 51.61 kB / 0.5256 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.437, allocations: 196.1 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.4371, allocations: 18.94 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.4371, allocations: 28.62 kB / 0.5258 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.4379, allocations: 297 kB / 0.5261 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.438, allocations: 0 / 0.5261 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.438, allocations: 11.66 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.438, allocations: 9.469 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/0.4387, allocations: 231.8 kB / 0.5263 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.4403, allocations: 0.9975 MB / 0.5273 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.4409, allocations: 378.1 kB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.4412, allocations: 137 kB / 0.5278 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.4413, allocations: 86.59 kB / 0.5279 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.4414, allocations: 39.88 kB / 0.5279 GB, free: 13.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.4414, allocations: 0 / 0.5279 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001202/0.4426, allocations: 499.7 kB / 0.5284 GB, free: 13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4427, allocations: 79.73 kB / 0.5284 GB, free: 12.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.4428, allocations: 149.9 kB / 0.5286 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4428, allocations: 29.7 kB / 0.5286 GB, free: 12.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.4429, allocations: 138.2 kB / 0.5287 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.443, allocations: 71.12 kB / 0.5288 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.4431, allocations: 46.8 kB / 0.5289 GB, free: 12.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4432, allocations: 321.8 kB / 0.5292 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.4434, allocations: 68.89 kB / 0.5292 GB, free: 12.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.4437, allocations: 117.4 kB / 0.5293 GB, free: 12.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.4442, allocations: 203.9 kB / 0.5295 GB, free: 11.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4442, allocations: 0 / 0.5295 GB, free: 11.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006935/0.4449, allocations: 287.3 kB / 0.5298 GB, free: 11.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.4449, allocations: 6.484 kB / 0.5298 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4449, allocations: 5.094 kB / 0.5298 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.4452, allocations: 52.88 kB / 0.5299 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.4454, allocations: 39.75 kB / 0.5299 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.4478, allocations: 2.842 MB / 0.5327 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.448, allocations: 31 kB / 0.5327 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.448, allocations: 5.5 kB / 0.5327 GB, free: 8.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.4482, allocations: 145.2 kB / 0.5329 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.4483, allocations: 14.59 kB / 0.5329 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/0.449, allocations: 264.2 kB / 0.5331 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.449, allocations: 2.156 kB / 0.5331 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.449, allocations: 2.094 kB / 0.5331 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.449, allocations: 0 / 0.5331 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.4501, allocations: 0.6452 MB / 0.5338 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4501, allocations: 5.094 kB / 0.5338 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.4503, allocations: 33.66 kB / 0.5338 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.4504, allocations: 52.12 kB / 0.5338 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.4505, allocations: 9.031 kB / 0.5339 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.4525, allocations: 2.847 MB / 0.5366 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.4525, allocations: 5.531 kB / 0.5366 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009358/0.4534, allocations: 0.5105 MB / 0.5371 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.4535, allocations: 97.77 kB / 0.5372 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.4535, allocations: 6.094 kB / 0.5372 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.4537, allocations: 20.38 kB / 0.5373 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.4538, allocations: 20.14 kB / 0.5373 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4538, allocations: 5.625 kB / 0.5373 GB, free: 4.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.4539, allocations: 109.2 kB / 0.5374 GB, free: 4.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4539, allocations: 0 / 0.5374 GB, free: 4.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.4543, allocations: 67.22 kB / 0.5375 GB, free: 4.246 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002165/0.4546, allocations: 128 kB / 0.5376 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007621/0.4553, allocations: 420.9 kB / 0.538 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4553, allocations: 0 / 0.538 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.4557, allocations: 328 kB / 0.5383 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.4561, allocations: 15.69 kB / 0.5383 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.457, allocations: 479.2 kB / 0.5388 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.4573, allocations: 0.7358 MB / 0.5395 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.305e-05/0.4574, allocations: 18.95 kB / 0.5395 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.4574, allocations: 14.06 kB / 0.5395 GB, free: 2.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4574, allocations: 0 / 0.5395 GB, free: 2.43 MB / 398.1 MB Notification: Performance of Templates: time 0.005972/0.4634, allocations: 2.386 MB / 0.5418 GB, free: 1.219 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches