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.00106/0.00106, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008338, allocations: 95.09 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1709/0.1709, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.794e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0957/0.09575, allocations: 63.24 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4387, allocations: 91.18 MB / 0.6004 GB, free: 2.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.439, allocations: 81.89 kB / 0.6005 GB, free: 2.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02116/0.4602, allocations: 9.803 MB / 0.61 GB, free: 10.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4602, allocations: 3.938 kB / 0.6101 GB, free: 10.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4602, allocations: 8 kB / 0.6101 GB, free: 10.81 MB / 410.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.0008951/0.4611, allocations: 0.5481 MB / 0.6106 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4612, allocations: 15.97 kB / 0.6106 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.4615, allocations: 44.97 kB / 0.6107 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4616, allocations: 194.7 kB / 0.6108 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.4617, allocations: 18.62 kB / 0.6109 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.4617, allocations: 26.25 kB / 0.6109 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.4621, allocations: 261.4 kB / 0.6111 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4621, allocations: 4 kB / 0.6111 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.4622, allocations: 6.688 kB / 0.6111 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4622, allocations: 8 kB / 0.6111 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.4624, allocations: 173.8 kB / 0.6113 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.4638, allocations: 1.021 MB / 0.6123 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.4641, allocations: 356.2 kB / 0.6127 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.4643, allocations: 116.2 kB / 0.6128 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.4645, allocations: 166.2 kB / 0.6129 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.4645, allocations: 34.38 kB / 0.613 GB, free: 8.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.4645, allocations: 0 / 0.613 GB, free: 8.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004084/0.4649, allocations: 201.4 kB / 0.6131 GB, free: 7.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.465, allocations: 85.16 kB / 0.6132 GB, free: 7.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.4651, allocations: 132.5 kB / 0.6134 GB, free: 7.711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.4651, allocations: 25.7 kB / 0.6134 GB, free: 7.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.4652, allocations: 145.9 kB / 0.6135 GB, free: 7.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.4652, allocations: 69.98 kB / 0.6136 GB, free: 7.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.4652, allocations: 3.25 kB / 0.6136 GB, free: 7.484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4654, allocations: 325.8 kB / 0.6139 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.4655, allocations: 44.94 kB / 0.6139 GB, free: 7.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.486e-05/0.4656, allocations: 88.78 kB / 0.614 GB, free: 7.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.138e-05/0.4657, allocations: 58.23 kB / 0.6141 GB, free: 7.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4657, allocations: 0 / 0.6141 GB, free: 7.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003427/0.466, allocations: 233.1 kB / 0.6143 GB, free: 6.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.466, allocations: 4 kB / 0.6143 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.466, allocations: 4 kB / 0.6143 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.4662, allocations: 47.39 kB / 0.6144 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4664, allocations: 58.84 kB / 0.6144 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.4681, allocations: 2.643 MB / 0.617 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.4682, allocations: 35.66 kB / 0.617 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.4683, allocations: 8.062 kB / 0.617 GB, free: 3.918 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 7.634e-05/0.4683, allocations: 123.9 kB / 0.6172 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.4684, allocations: 11.91 kB / 0.6172 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.4688, allocations: 224 kB / 0.6174 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4688, allocations: 0 / 0.6174 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4688, allocations: 4 kB / 0.6174 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4688, allocations: 3.984 kB / 0.6174 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.4696, allocations: 0.6127 MB / 0.618 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4696, allocations: 4.031 kB / 0.618 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.4698, allocations: 46.16 kB / 0.618 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.4699, allocations: 50.23 kB / 0.6181 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4699, allocations: 3.625 kB / 0.6181 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.4715, allocations: 2.642 MB / 0.6207 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4715, allocations: 0 / 0.6207 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.472, allocations: 491.4 kB / 0.6211 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.472, allocations: 92.98 kB / 0.6212 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.4721, allocations: 7.938 kB / 0.6212 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.4723, allocations: 22.86 kB / 0.6212 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.4723, allocations: 23.72 kB / 0.6213 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.4723, allocations: 11.5 kB / 0.6213 GB, free: 15.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.044e-05/0.4724, allocations: 104.1 kB / 0.6214 GB, free: 15.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.994e-06/0.4724, allocations: 0 / 0.6214 GB, free: 15.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.4728, allocations: 86.33 kB / 0.6215 GB, free: 15.4 MB / 426.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.000193/0.473, allocations: 139 kB / 0.6216 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.4734, allocations: 368 kB / 0.6219 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4734, allocations: 4.25 kB / 0.622 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.4737, allocations: 298.8 kB / 0.6222 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.4739, allocations: 15.41 kB / 0.6223 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.4744, allocations: 340.5 kB / 0.6226 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4747, allocations: 0.7477 MB / 0.6233 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.163e-05/0.4748, allocations: 13.2 kB / 0.6233 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.4748, allocations: 15.44 kB / 0.6233 GB, free: 13.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4748, allocations: 0 / 0.6233 GB, free: 13.5 MB / 426.7 MB Notification: Performance of Templates: time 0.004598/0.4794, allocations: 2.249 MB / 0.6255 GB, free: 11.26 MB / 426.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