Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009583/0.0009583, allocations: 104.2 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3481/0.3481, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3658, allocations: 62.02 MB / 0.5152 GB, free: 37.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002717/0.3686, allocations: 1.67 MB / 0.5168 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.3694, allocations: 0.5274 MB / 0.5173 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.3695, allocations: 6.844 kB / 0.5173 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.3698, allocations: 102.4 kB / 0.5174 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.37, allocations: 111.2 kB / 0.5175 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.3702, allocations: 72.11 kB / 0.5176 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.3704, allocations: 83.17 kB / 0.5177 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3705, allocations: 15.86 kB / 0.5177 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.3706, allocations: 45.27 kB / 0.5177 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3707, allocations: 63 kB / 0.5178 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3707, allocations: 2.688 kB / 0.5178 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.3708, allocations: 44.3 kB / 0.5178 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.3709, allocations: 23.88 kB / 0.5178 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.3709, allocations: 32.72 kB / 0.5179 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.3711, allocations: 119.3 kB / 0.518 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3711, allocations: 4 kB / 0.518 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.3711, allocations: 0 / 0.518 GB, free: 36.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.3711, allocations: 0 / 0.518 GB, free: 36.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004149/0.3715, allocations: 418.7 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3716, allocations: 10.72 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.3716, allocations: 14.19 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3718, allocations: 211 kB / 0.5186 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.3718, allocations: 7.125 kB / 0.5186 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.3718, allocations: 3.094 kB / 0.5186 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3719, allocations: 55.28 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3719, allocations: 3.938 kB / 0.5187 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.372, allocations: 2.656 kB / 0.5187 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.372, allocations: 0 / 0.5187 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.3721, allocations: 25.12 kB / 0.5187 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.3724, allocations: 306.2 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.135e-05/0.3725, allocations: 51.14 kB / 0.5191 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.3725, allocations: 14.05 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3726, allocations: 6.844 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.3726, allocations: 30.56 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3726, allocations: 4 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007701/0.3734, allocations: 217.7 kB / 0.5193 GB, free: 34.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.3734, allocations: 51.41 kB / 0.5194 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3736, allocations: 258.8 kB / 0.5196 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.3736, allocations: 29.7 kB / 0.5196 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.3736, allocations: 115.6 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3737, allocations: 29.59 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.3737, allocations: 19.47 kB / 0.5198 GB, free: 34.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.3738, allocations: 326.7 kB / 0.5201 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.3738, allocations: 26.8 kB / 0.5201 GB, free: 34.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.3739, allocations: 28.62 kB / 0.5202 GB, free: 34.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.374, allocations: 67.22 kB / 0.5202 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.374, allocations: 4 kB / 0.5202 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001752/0.3742, allocations: 100.9 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3743, allocations: 7.281 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3743, allocations: 0 / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3743, allocations: 0 / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.3744, allocations: 17.25 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3744, allocations: 4 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.3744, allocations: 13.84 kB / 0.5204 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3744, allocations: 3 kB / 0.5204 GB, free: 34.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.3745, allocations: 136 kB / 0.5205 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3746, allocations: 9.406 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3748, allocations: 116.3 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3748, allocations: 6.812 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3748, allocations: 0 / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3748, allocations: 3.938 kB / 0.5206 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.3752, allocations: 406.7 kB / 0.521 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3752, allocations: 0 / 0.521 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.3753, allocations: 29.64 kB / 0.521 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3753, allocations: 3.969 kB / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3753, allocations: 10.31 kB / 0.5211 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3753, allocations: 0 / 0.5211 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3753, allocations: 0 / 0.5211 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.3757, allocations: 0.7965 MB / 0.5218 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.3758, allocations: 94.48 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3758, allocations: 0 / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.3758, allocations: 6.188 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.3759, allocations: 8.5 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3759, allocations: 2.906 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.376, allocations: 196.6 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.376, allocations: 0 / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.3764, allocations: 22.81 kB / 0.5221 GB, free: 32.57 MB / 378.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009222/0.3773, allocations: 452.5 kB / 0.5226 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3775, allocations: 74.88 kB / 0.5227 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3775, allocations: 0 / 0.5227 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.3776, allocations: 42.09 kB / 0.5227 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.378, allocations: 14.73 kB / 0.5227 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.3785, allocations: 431.8 kB / 0.5231 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.3787, allocations: 0.7126 MB / 0.5238 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.3788, allocations: 15.84 kB / 0.5238 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.3788, allocations: 12.62 kB / 0.5238 GB, free: 31.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3788, allocations: 0 / 0.5238 GB, free: 31.26 MB / 378.7 MB Notification: Performance of Templates: time 0.003483/0.3823, allocations: 1.339 MB / 0.5251 GB, free: 31.09 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches