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/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) 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 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(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/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.371/1.371, allocations: 222.9 MB / 241.6 MB, free: 11 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.001034/0.001034, allocations: 103.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3708/0.3708, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 47.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3621, allocations: 60.81 MB / 0.5064 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003385/0.3655, allocations: 2.509 MB / 0.5088 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3668, allocations: 1.032 MB / 0.5098 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.3669, allocations: 5.844 kB / 0.5099 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.368, allocations: 485.9 kB / 0.5103 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.3682, allocations: 89.61 kB / 0.5104 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.369, allocations: 0.6073 MB / 0.511 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.3693, allocations: 213 kB / 0.5112 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.3697, allocations: 229.5 kB / 0.5114 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3699, allocations: 88.02 kB / 0.5115 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.37, allocations: 118.9 kB / 0.5116 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.37, allocations: 18.97 kB / 0.5116 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.3703, allocations: 145.3 kB / 0.5118 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.3703, allocations: 43.84 kB / 0.5118 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.3704, allocations: 113.3 kB / 0.5119 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.3708, allocations: 387 kB / 0.5123 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3708, allocations: 4 kB / 0.5123 GB, free: 34.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3708, allocations: 0 / 0.5123 GB, free: 34.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3708, allocations: 0 / 0.5123 GB, free: 34.64 MB / 378.7 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.001156/0.372, allocations: 0.6193 MB / 0.5129 GB, free: 34.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.372, allocations: 8.781 kB / 0.5129 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.3724, allocations: 51.52 kB / 0.513 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3725, allocations: 197.1 kB / 0.5131 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3725, allocations: 19.02 kB / 0.5132 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.3726, allocations: 24.97 kB / 0.5132 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.3731, allocations: 288.5 kB / 0.5135 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3732, allocations: 2.625 kB / 0.5135 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.3732, allocations: 13.56 kB / 0.5135 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3732, allocations: 5.219 kB / 0.5135 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.3737, allocations: 231.1 kB / 0.5137 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.375, allocations: 1.009 MB / 0.5147 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.3754, allocations: 382.5 kB / 0.5151 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.3758, allocations: 139 kB / 0.5152 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.916e-05/0.3759, allocations: 82.05 kB / 0.5153 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3759, allocations: 40.59 kB / 0.5153 GB, free: 32.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.913e-06/0.3759, allocations: 0 / 0.5153 GB, free: 32.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001145/0.3771, allocations: 0.4925 MB / 0.5158 GB, free: 32.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.3771, allocations: 83.2 kB / 0.5159 GB, free: 32.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3772, allocations: 147.3 kB / 0.516 GB, free: 31.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3773, allocations: 26.83 kB / 0.516 GB, free: 31.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.3773, allocations: 143.9 kB / 0.5162 GB, free: 31.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.3774, allocations: 69.91 kB / 0.5162 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.3775, allocations: 38.56 kB / 0.5163 GB, free: 31.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.3775, allocations: 325.2 kB / 0.5166 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3777, allocations: 66.97 kB / 0.5166 GB, free: 31.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.378, allocations: 124.2 kB / 0.5168 GB, free: 31.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.3784, allocations: 207.2 kB / 0.517 GB, free: 31.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3784, allocations: 0 / 0.517 GB, free: 31.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000545/0.3789, allocations: 280.8 kB / 0.5172 GB, free: 31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3789, allocations: 5.719 kB / 0.5172 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.379, allocations: 2.719 kB / 0.5172 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.3792, allocations: 50.47 kB / 0.5173 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3794, allocations: 44.38 kB / 0.5173 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.3808, allocations: 2.642 MB / 0.5199 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3809, allocations: 29.61 kB / 0.5199 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.381, allocations: 5.875 kB / 0.5199 GB, free: 28.27 MB / 378.7 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.0001094/0.3811, allocations: 140.8 kB / 0.5201 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.3812, allocations: 14.69 kB / 0.5201 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.3817, allocations: 260.3 kB / 0.5203 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3818, allocations: 6.625 kB / 0.5203 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3818, allocations: 2.75 kB / 0.5203 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3818, allocations: 5.438 kB / 0.5204 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.3828, allocations: 0.6482 MB / 0.521 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3828, allocations: 6.906 kB / 0.521 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.383, allocations: 38.39 kB / 0.521 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.3831, allocations: 49.83 kB / 0.5211 GB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3831, allocations: 6.938 kB / 0.5211 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.3843, allocations: 2.637 MB / 0.5237 GB, free: 24.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3843, allocations: 6.781 kB / 0.5237 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3858, allocations: 1.443 MB / 0.5251 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.3858, allocations: 91.53 kB / 0.5252 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3858, allocations: 8.641 kB / 0.5252 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.386, allocations: 16.44 kB / 0.5252 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.3861, allocations: 26.17 kB / 0.5252 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3861, allocations: 2.75 kB / 0.5252 GB, free: 23.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.3862, allocations: 108 kB / 0.5253 GB, free: 23.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3862, allocations: 4.062 kB / 0.5253 GB, free: 23.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.3867, allocations: 76.28 kB / 0.5254 GB, free: 23.3 MB / 378.7 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.0002032/0.3869, allocations: 119.7 kB / 0.5255 GB, free: 23.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006929/0.3876, allocations: 422.8 kB / 0.5259 GB, free: 22.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3877, allocations: 0 / 0.5259 GB, free: 22.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.388, allocations: 329.1 kB / 0.5262 GB, free: 22.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.3884, allocations: 17.69 kB / 0.5262 GB, free: 22.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.3893, allocations: 0.7133 MB / 0.5269 GB, free: 22.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.3895, allocations: 0.7419 MB / 0.5277 GB, free: 21.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.479e-05/0.3895, allocations: 17.53 kB / 0.5277 GB, free: 21.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3896, allocations: 16 kB / 0.5277 GB, free: 21.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3896, allocations: 0 / 0.5277 GB, free: 21.36 MB / 378.7 MB Notification: Performance of Templates: time 0.005257/0.3949, allocations: 2.228 MB / 0.5299 GB, free: 21.16 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches