Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009582/0.0009585, allocations: 96.91 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1962/0.1962, allocations: 45.14 MB / 383.7 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.414e-05, allocations: 0 / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/0.5075, allocations: 90.51 MB / 0.5927 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5078, allocations: 81.39 kB / 0.5928 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02324/0.531, allocations: 9.701 MB / 0.6023 GB, free: 4.262 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.531, allocations: 7.938 kB / 0.6023 GB, free: 4.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.5311, allocations: 4 kB / 0.6023 GB, free: 4.25 MB / 394.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.001179/0.5323, allocations: 0.5479 MB / 0.6028 GB, free: 3.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5323, allocations: 8.031 kB / 0.6029 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.5327, allocations: 53.09 kB / 0.6029 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.5329, allocations: 190.7 kB / 0.6031 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.5329, allocations: 8 kB / 0.6031 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.356e-05/0.533, allocations: 12 kB / 0.6031 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003413/0.5333, allocations: 164.2 kB / 0.6033 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.5337, allocations: 227.2 kB / 0.6035 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.5337, allocations: 0 / 0.6035 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.5338, allocations: 0 / 0.6035 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5338, allocations: 4 kB / 0.6035 GB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.5353, allocations: 0.9661 MB / 0.6044 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.5356, allocations: 340.1 kB / 0.6048 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.5358, allocations: 107.7 kB / 0.6049 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.536, allocations: 166.2 kB / 0.605 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.5361, allocations: 34.12 kB / 0.605 GB, free: 1.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.5361, allocations: 3.938 kB / 0.605 GB, free: 1.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007007/0.5368, allocations: 241.8 kB / 0.6053 GB, free: 1.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.5369, allocations: 81.11 kB / 0.6054 GB, free: 1.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.537, allocations: 107.7 kB / 0.6055 GB, free: 1.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.537, allocations: 25.7 kB / 0.6055 GB, free: 1.199 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.5371, allocations: 146.3 kB / 0.6056 GB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.5371, allocations: 62.33 kB / 0.6057 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.5372, allocations: 112 / 0.6057 GB, free: 1.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5373, allocations: 325.5 kB / 0.606 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.5374, allocations: 51.25 kB / 0.606 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.5375, allocations: 82.81 kB / 0.6061 GB, free: 0.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.5378, allocations: 98.81 kB / 0.6062 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5378, allocations: 0 / 0.6062 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005606/0.5384, allocations: 256.6 kB / 0.6065 GB, free: 304 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5384, allocations: 4 kB / 0.6065 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5384, allocations: 0 / 0.6065 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.5386, allocations: 51.38 kB / 0.6065 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.5388, allocations: 57.16 kB / 0.6066 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5408, allocations: 2.548 MB / 0.6091 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.541, allocations: 28.45 kB / 0.6091 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.541, allocations: 9.25 kB / 0.6091 GB, free: 13.51 MB / 410.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 () * 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.0001005/0.5411, allocations: 102.7 kB / 0.6092 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.5412, allocations: 20.27 kB / 0.6092 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.5418, allocations: 254.6 kB / 0.6095 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5418, allocations: 0 / 0.6095 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5419, allocations: 4 kB / 0.6095 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5419, allocations: 3.953 kB / 0.6095 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.5429, allocations: 0.5952 MB / 0.61 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5429, allocations: 4 kB / 0.61 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.5431, allocations: 43.22 kB / 0.6101 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.5432, allocations: 41.39 kB / 0.6101 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.5433, allocations: 4 kB / 0.6101 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.5451, allocations: 2.535 MB / 0.6126 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5451, allocations: 0 / 0.6126 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.5459, allocations: 0.5136 MB / 0.6131 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.5459, allocations: 91.55 kB / 0.6132 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.546, allocations: 3.984 kB / 0.6132 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5462, allocations: 20.05 kB / 0.6132 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.5462, allocations: 22.78 kB / 0.6132 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5463, allocations: 8 kB / 0.6132 GB, free: 9.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.5463, allocations: 91.91 kB / 0.6133 GB, free: 9.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5463, allocations: 0 / 0.6133 GB, free: 9.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004493/0.5468, allocations: 83.14 kB / 0.6134 GB, free: 9.094 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.0002326/0.547, allocations: 134.3 kB / 0.6135 GB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.5475, allocations: 342.5 kB / 0.6139 GB, free: 8.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5475, allocations: 4.25 kB / 0.6139 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.5478, allocations: 282.6 kB / 0.6141 GB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.548, allocations: 4 kB / 0.6141 GB, free: 8.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.5487, allocations: 324 kB / 0.6145 GB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.5491, allocations: 0.7439 MB / 0.6152 GB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.5493, allocations: 13.2 kB / 0.6152 GB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.5493, allocations: 15.44 kB / 0.6152 GB, free: 7.258 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5493, allocations: 0 / 0.6152 GB, free: 7.258 MB / 410.7 MB Notification: Performance of Templates: time 0.006265/0.5556, allocations: 1.966 MB / 0.6171 GB, free: 5.309 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches