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.001203/0.001203, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.00128/0.00128, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.31/1.31, allocations: 222.9 MB / 243.1 MB, free: 15.19 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.2075/0.2075, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.34, allocations: 60.82 MB / 0.5195 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003438/0.3435, allocations: 2.477 MB / 0.522 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3451, allocations: 1.036 MB / 0.523 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3453, allocations: 8.531 kB / 0.523 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.3465, allocations: 0.4912 MB / 0.5235 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.3468, allocations: 107.1 kB / 0.5236 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.3478, allocations: 0.6282 MB / 0.5242 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.3481, allocations: 226.6 kB / 0.5244 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.3486, allocations: 256 kB / 0.5246 GB, free: 412 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.3487, allocations: 91.83 kB / 0.5247 GB, free: 368 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3489, allocations: 133.4 kB / 0.5248 GB, free: 296 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.3489, allocations: 22.09 kB / 0.5249 GB, free: 296 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.3493, allocations: 142.6 kB / 0.525 GB, free: 256 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.3493, allocations: 51.19 kB / 0.5251 GB, free: 220 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.3494, allocations: 111.6 kB / 0.5252 GB, free: 148 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.35, allocations: 401 kB / 0.5255 GB, free: 15.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.35, allocations: 0 / 0.5255 GB, free: 15.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.35, allocations: 0.7969 kB / 0.5255 GB, free: 15.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.35, allocations: 0 / 0.5255 GB, free: 15.97 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.001399/0.3514, allocations: 0.6221 MB / 0.5262 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3515, allocations: 9.031 kB / 0.5262 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.3518, allocations: 51.2 kB / 0.5262 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.352, allocations: 188 kB / 0.5264 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.352, allocations: 20.34 kB / 0.5264 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.3521, allocations: 28.12 kB / 0.5264 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.3527, allocations: 299.7 kB / 0.5267 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3528, allocations: 0 / 0.5267 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.3528, allocations: 11.56 kB / 0.5267 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3528, allocations: 9.875 kB / 0.5267 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.3534, allocations: 224.4 kB / 0.527 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.3549, allocations: 0.9993 MB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.3554, allocations: 382 kB / 0.5283 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.3558, allocations: 137 kB / 0.5284 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.333e-05/0.3559, allocations: 86.61 kB / 0.5285 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3559, allocations: 35.94 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.3559, allocations: 0 / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001167/0.3571, allocations: 0.4988 MB / 0.529 GB, free: 13.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3571, allocations: 80.08 kB / 0.5291 GB, free: 13.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3573, allocations: 141.8 kB / 0.5292 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3573, allocations: 26.89 kB / 0.5293 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.3574, allocations: 146.5 kB / 0.5294 GB, free: 12.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.3574, allocations: 66.66 kB / 0.5295 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.3575, allocations: 42.59 kB / 0.5295 GB, free: 12.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3576, allocations: 321.1 kB / 0.5298 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3578, allocations: 69.12 kB / 0.5299 GB, free: 12.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.3581, allocations: 126.2 kB / 0.53 GB, free: 12.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.3585, allocations: 198.5 kB / 0.5302 GB, free: 12.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3585, allocations: 1.062 kB / 0.5302 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006309/0.3592, allocations: 288.3 kB / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3592, allocations: 6.156 kB / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3592, allocations: 1.844 kB / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.3594, allocations: 48.08 kB / 0.5305 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.3596, allocations: 47.03 kB / 0.5306 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.3616, allocations: 2.842 MB / 0.5333 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3618, allocations: 27.42 kB / 0.5334 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3618, allocations: 5.688 kB / 0.5334 GB, free: 9 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.0001393/0.3619, allocations: 145.7 kB / 0.5335 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.362, allocations: 13.34 kB / 0.5335 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.3627, allocations: 270.8 kB / 0.5338 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3627, allocations: 2.188 kB / 0.5338 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3627, allocations: 2.156 kB / 0.5338 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3627, allocations: 0 / 0.5338 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.3638, allocations: 0.6481 MB / 0.5344 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3638, allocations: 5.156 kB / 0.5344 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.364, allocations: 33.38 kB / 0.5345 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.3641, allocations: 44.05 kB / 0.5345 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3641, allocations: 9.344 kB / 0.5345 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.3659, allocations: 2.85 MB / 0.5373 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3659, allocations: 5.359 kB / 0.5373 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000875/0.3668, allocations: 0.514 MB / 0.5378 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.3669, allocations: 97.5 kB / 0.5379 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3669, allocations: 10.19 kB / 0.5379 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.3671, allocations: 15.98 kB / 0.5379 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.3672, allocations: 20.84 kB / 0.5379 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3672, allocations: 9.188 kB / 0.5379 GB, free: 4.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.216e-05/0.3673, allocations: 105.1 kB / 0.538 GB, free: 4.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3673, allocations: 0 / 0.538 GB, free: 4.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.3677, allocations: 66.97 kB / 0.5381 GB, free: 4.496 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.0002013/0.3679, allocations: 133.1 kB / 0.5382 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000743/0.3687, allocations: 416.1 kB / 0.5386 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3687, allocations: 0 / 0.5386 GB, free: 4.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.3691, allocations: 326.8 kB / 0.5389 GB, free: 3.785 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3695, allocations: 17.69 kB / 0.539 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.3704, allocations: 0.4953 MB / 0.5394 GB, free: 3.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3707, allocations: 0.7405 MB / 0.5402 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.3707, allocations: 15 kB / 0.5402 GB, free: 2.652 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3707, allocations: 1.25 kB / 0.5402 GB, free: 2.652 MB / 398.1 MB Notification: Performance of Templates: time 0.006673/0.3774, allocations: 4.258 MB / 0.5443 GB, free: 380 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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