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.001031/0.001032, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.261/1.261, allocations: 223.2 MB / 241 MB, free: 11.88 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.001044/0.001044, allocations: 93.45 kB / 292.2 MB, free: 10.92 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.3587/0.3587, allocations: 44.22 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4127, allocations: 61.89 MB / 0.5096 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.5408, allocations: 90.12 MB / 0.5976 GB, free: 5.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.541, allocations: 87.95 kB / 0.5977 GB, free: 4.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02079/0.5618, allocations: 9.266 MB / 0.6067 GB, free: 11.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5619, allocations: 0 / 0.6067 GB, free: 11.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.5619, allocations: 4 kB / 0.6067 GB, free: 11.53 MB / 426.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.0009897/0.5629, allocations: 0.5692 MB / 0.6073 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5629, allocations: 8.031 kB / 0.6073 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.5632, allocations: 51.69 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5634, allocations: 186.8 kB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.5634, allocations: 20.5 kB / 0.6075 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.5635, allocations: 31.86 kB / 0.6075 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.564, allocations: 303.4 kB / 0.6078 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5641, allocations: 0 / 0.6078 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.5641, allocations: 12 kB / 0.6078 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.5641, allocations: 4 kB / 0.6078 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.5646, allocations: 249.6 kB / 0.6081 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.5661, allocations: 1.015 MB / 0.6091 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.5666, allocations: 387.3 kB / 0.6094 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.5667, allocations: 85.22 kB / 0.6095 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.5667, allocations: 46.45 kB / 0.6096 GB, free: 8.336 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.5668, allocations: 0 / 0.6096 GB, free: 8.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001123/0.5679, allocations: 0.5381 MB / 0.6101 GB, free: 7.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.5679, allocations: 77.11 kB / 0.6102 GB, free: 7.656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.568, allocations: 130.7 kB / 0.6103 GB, free: 7.523 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.5681, allocations: 29.73 kB / 0.6103 GB, free: 7.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.5682, allocations: 144 kB / 0.6105 GB, free: 7.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.5682, allocations: 67 kB / 0.6105 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.5682, allocations: 8 kB / 0.6105 GB, free: 7.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5684, allocations: 322.8 kB / 0.6108 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.5686, allocations: 91.94 kB / 0.6109 GB, free: 6.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.5688, allocations: 122.5 kB / 0.611 GB, free: 6.723 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.569, allocations: 95.25 kB / 0.6111 GB, free: 6.633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.569, allocations: 3.938 kB / 0.6111 GB, free: 6.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005821/0.5696, allocations: 299 kB / 0.6114 GB, free: 6.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5697, allocations: 7.953 kB / 0.6114 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5697, allocations: 4 kB / 0.6114 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.5699, allocations: 41.7 kB / 0.6115 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.5701, allocations: 55.89 kB / 0.6115 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.5718, allocations: 2.651 MB / 0.6141 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.572, allocations: 35.84 kB / 0.6142 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.572, allocations: 8 kB / 0.6142 GB, free: 3.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.5721, allocations: 137.9 kB / 0.6143 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.5722, allocations: 19.84 kB / 0.6143 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006141/0.5728, allocations: 288.5 kB / 0.6146 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5728, allocations: 7.984 kB / 0.6146 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5728, allocations: 0 / 0.6146 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5728, allocations: 4 kB / 0.6146 GB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.5738, allocations: 0.6619 MB / 0.6152 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5738, allocations: 4 kB / 0.6152 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.574, allocations: 39.97 kB / 0.6153 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.5742, allocations: 49.69 kB / 0.6153 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.5742, allocations: 7.938 kB / 0.6153 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.5762, allocations: 2.654 MB / 0.6179 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5762, allocations: 0 / 0.6179 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.5771, allocations: 0.5618 MB / 0.6185 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.5772, allocations: 96.84 kB / 0.6186 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5772, allocations: 4 kB / 0.6186 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.5774, allocations: 24.05 kB / 0.6186 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.5775, allocations: 23.91 kB / 0.6186 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5775, allocations: 4 kB / 0.6186 GB, free: 14.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.5776, allocations: 110.1 kB / 0.6187 GB, free: 14.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5776, allocations: 0 / 0.6187 GB, free: 14.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.578, allocations: 83.78 kB / 0.6188 GB, free: 14.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (permeance.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001974/0.5782, allocations: 127.5 kB / 0.6189 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007291/0.5789, allocations: 443.7 kB / 0.6194 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5789, allocations: 4.062 kB / 0.6194 GB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.5793, allocations: 337.2 kB / 0.6197 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.5795, allocations: 15.94 kB / 0.6197 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008022/0.5804, allocations: 0.5518 MB / 0.6202 GB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.5807, allocations: 0.7477 MB / 0.621 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.683e-05/0.5808, allocations: 17.42 kB / 0.621 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.5808, allocations: 11.44 kB / 0.621 GB, free: 11.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5808, allocations: 0 / 0.621 GB, free: 11.73 MB / 442.7 MB Notification: Performance of Templates: time 0.004968/0.5858, allocations: 2.13 MB / 0.6231 GB, free: 9.605 MB / 442.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/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