Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 183 kB / 18.09 MB, free: 3.727 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.441/1.441, allocations: 223.3 MB / 242.1 MB, free: 10 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.0008052/0.0008052, allocations: 94.77 kB / 293.3 MB, free: 10.57 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.3406/0.3406, allocations: 44.14 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 12 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 61.87 MB / 0.5107 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.4438, allocations: 86.94 MB / 0.5956 GB, free: 8.176 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.444, allocations: 79.88 kB / 0.5957 GB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004445/0.4485, allocations: 1.75 MB / 0.5974 GB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4485, allocations: 0 / 0.5974 GB, free: 6.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.4485, allocations: 4 kB / 0.5974 GB, free: 6.34 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005497/0.4491, allocations: 407.2 kB / 0.5978 GB, free: 5.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4492, allocations: 12.03 kB / 0.5978 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.4492, allocations: 16.73 kB / 0.5978 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.4494, allocations: 180.2 kB / 0.598 GB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.4494, allocations: 4.375 kB / 0.598 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.4494, allocations: 8.375 kB / 0.598 GB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.4497, allocations: 134.2 kB / 0.5981 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.4498, allocations: 192 / 0.5981 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4498, allocations: 3.938 kB / 0.5981 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4498, allocations: 4 kB / 0.5981 GB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.4501, allocations: 131.8 kB / 0.5983 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.451, allocations: 491.2 kB / 0.5987 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.4512, allocations: 94.53 kB / 0.5988 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.4515, allocations: 72.94 kB / 0.5989 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.4515, allocations: 4 kB / 0.5989 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4515, allocations: 30.56 kB / 0.5989 GB, free: 4.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4515, allocations: 0 / 0.5989 GB, free: 4.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000828/0.4524, allocations: 315.5 kB / 0.5992 GB, free: 4.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.4524, allocations: 55.34 kB / 0.5993 GB, free: 4.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/0.4525, allocations: 121.8 kB / 0.5994 GB, free: 4.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4525, allocations: 25.7 kB / 0.5994 GB, free: 4.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.4526, allocations: 112.1 kB / 0.5995 GB, free: 3.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.4527, allocations: 23.66 kB / 0.5995 GB, free: 3.906 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.4527, allocations: 0 / 0.5995 GB, free: 3.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4528, allocations: 318.8 kB / 0.5998 GB, free: 3.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.4529, allocations: 47.97 kB / 0.5999 GB, free: 3.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.4531, allocations: 61.67 kB / 0.6 GB, free: 3.473 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.4534, allocations: 121.6 kB / 0.6001 GB, free: 3.348 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4534, allocations: 7.938 kB / 0.6001 GB, free: 3.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003959/0.4538, allocations: 162.4 kB / 0.6002 GB, free: 3.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4538, allocations: 5.562 kB / 0.6002 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4538, allocations: 0 / 0.6002 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.454, allocations: 24.84 kB / 0.6003 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4542, allocations: 23.97 kB / 0.6003 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.4553, allocations: 1.308 MB / 0.6016 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.4554, allocations: 31.91 kB / 0.6016 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.4554, allocations: 11.94 kB / 0.6016 GB, free: 1.629 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.4555, allocations: 120.3 kB / 0.6017 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.4555, allocations: 0 / 0.6017 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.4556, allocations: 12.38 kB / 0.6017 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4556, allocations: 3.938 kB / 0.6017 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4556, allocations: 0 / 0.6017 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4556, allocations: 0 / 0.6017 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.4563, allocations: 463.9 kB / 0.6022 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4563, allocations: 4 kB / 0.6022 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.4564, allocations: 20.11 kB / 0.6022 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.995e-05/0.4565, allocations: 20.84 kB / 0.6022 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4565, allocations: 4 kB / 0.6022 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009331/0.4575, allocations: 1.3 MB / 0.6035 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4575, allocations: 3.938 kB / 0.6035 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.4579, allocations: 265.1 kB / 0.6037 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.458, allocations: 92.94 kB / 0.6038 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.458, allocations: 3.938 kB / 0.6038 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.4582, allocations: 15.98 kB / 0.6039 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.4583, allocations: 12.12 kB / 0.6039 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.4583, allocations: 4 kB / 0.6039 GB, free: 15.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.7e-05/0.4584, allocations: 95.27 kB / 0.604 GB, free: 14.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4584, allocations: 0 / 0.604 GB, free: 14.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.4587, allocations: 20 kB / 0.604 GB, free: 14.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001155/0.4588, allocations: 99.77 kB / 0.6041 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005418/0.4593, allocations: 238.4 kB / 0.6043 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4593, allocations: 4.062 kB / 0.6043 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.4596, allocations: 166.7 kB / 0.6045 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4599, allocations: 4 kB / 0.6045 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.4604, allocations: 258.8 kB / 0.6047 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.4607, allocations: 0.7083 MB / 0.6054 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.4607, allocations: 0 / 0.6054 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.4608, allocations: 11.44 kB / 0.6054 GB, free: 13.39 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4608, allocations: 0 / 0.6054 GB, free: 13.39 MB / 426.7 MB Notification: Performance of Templates: time 0.003252/0.464, allocations: 0.9401 MB / 0.6063 GB, free: 12.45 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches