Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009874/0.0009873, allocations: 200.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.6 MB / 243.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007428/0.0007427, allocations: 96.45 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3178/0.3178, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003249, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3569, allocations: 62.96 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001698/0.3586, allocations: 1.288 MB / 0.5171 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000712/0.3593, allocations: 498.5 kB / 0.5176 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.3594, allocations: 0 / 0.5176 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.3596, allocations: 21.2 kB / 0.5176 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.3598, allocations: 58.88 kB / 0.5177 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.36, allocations: 79.83 kB / 0.5178 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3602, allocations: 51.58 kB / 0.5178 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3603, allocations: 21.06 kB / 0.5178 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.3603, allocations: 20.16 kB / 0.5179 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.3604, allocations: 20.7 kB / 0.5179 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3604, allocations: 2.75 kB / 0.5179 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-05/0.3605, allocations: 28.45 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.3606, allocations: 7.688 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.3606, allocations: 44.03 kB / 0.518 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3607, allocations: 60.83 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3607, allocations: 0 / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3607, allocations: 4 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3608, allocations: 2.906 kB / 0.518 GB, free: 35.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003944/0.3612, allocations: 374.7 kB / 0.5184 GB, free: 35.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3612, allocations: 8.656 kB / 0.5184 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3612, allocations: 10.69 kB / 0.5184 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3614, allocations: 187.3 kB / 0.5186 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3614, allocations: 384 / 0.5186 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3614, allocations: 7.031 kB / 0.5186 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3616, allocations: 52.58 kB / 0.5186 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3616, allocations: 3.938 kB / 0.5186 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.3616, allocations: 4 kB / 0.5186 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3616, allocations: 10.91 kB / 0.5186 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.3617, allocations: 22.44 kB / 0.5187 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.362, allocations: 278.9 kB / 0.5189 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3622, allocations: 49.64 kB / 0.519 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.3623, allocations: 14.11 kB / 0.519 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.3623, allocations: 2.875 kB / 0.519 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3623, allocations: 38.56 kB / 0.519 GB, free: 34.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3623, allocations: 0 / 0.519 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005142/0.3628, allocations: 161.2 kB / 0.5192 GB, free: 34.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.3629, allocations: 51.41 kB / 0.5192 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.363, allocations: 152.4 kB / 0.5194 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.363, allocations: 25.7 kB / 0.5194 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.3631, allocations: 94.36 kB / 0.5195 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3631, allocations: 14.81 kB / 0.5195 GB, free: 34.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.3631, allocations: 4 kB / 0.5195 GB, free: 34.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.3632, allocations: 325.3 kB / 0.5198 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.3632, allocations: 20.08 kB / 0.5198 GB, free: 33.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.3633, allocations: 21.81 kB / 0.5199 GB, free: 33.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3634, allocations: 52.5 kB / 0.5199 GB, free: 33.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3634, allocations: 4 kB / 0.5199 GB, free: 33.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001505/0.3636, allocations: 90.77 kB / 0.52 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3636, allocations: 5.844 kB / 0.52 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3636, allocations: 256 / 0.52 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3636, allocations: 0 / 0.52 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.3637, allocations: 23.7 kB / 0.52 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3637, allocations: 0 / 0.52 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.3637, allocations: 5.938 kB / 0.52 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3638, allocations: 0 / 0.52 GB, free: 33.74 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/0.3638, allocations: 122.9 kB / 0.5202 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.3638, allocations: 6.594 kB / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.3641, allocations: 105.7 kB / 0.5203 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3641, allocations: 0 / 0.5203 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3641, allocations: 2.938 kB / 0.5203 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3641, allocations: 0 / 0.5203 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.3644, allocations: 357.8 kB / 0.5206 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3644, allocations: 3.938 kB / 0.5206 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.3645, allocations: 20.23 kB / 0.5206 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3645, allocations: 0 / 0.5206 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3645, allocations: 0 / 0.5206 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3645, allocations: 3.938 kB / 0.5206 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3645, allocations: 2.719 kB / 0.5206 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3647, allocations: 182.4 kB / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.3647, allocations: 87.92 kB / 0.5209 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3648, allocations: 3.234 kB / 0.5209 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.3648, allocations: 13.72 kB / 0.5209 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.3649, allocations: 6.109 kB / 0.5209 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3649, allocations: 4 kB / 0.5209 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.305e-05/0.3649, allocations: 119.5 kB / 0.521 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3649, allocations: 0 / 0.521 GB, free: 32.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.3652, allocations: 9.781 kB / 0.521 GB, free: 32.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007991/0.366, allocations: 392.8 kB / 0.5214 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.3662, allocations: 57.27 kB / 0.5215 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3662, allocations: 0 / 0.5215 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.3663, allocations: 28.66 kB / 0.5215 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.3666, allocations: 17.3 kB / 0.5215 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3669, allocations: 219.4 kB / 0.5217 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.3671, allocations: 0.696 MB / 0.5224 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.3671, allocations: 13.22 kB / 0.5224 GB, free: 31.75 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3671, allocations: 0 / 0.5224 GB, free: 31.75 MB / 378.7 MB Notification: Performance of Templates: time 0.002604/0.3697, allocations: 1.41 MB / 0.5238 GB, free: 31.59 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches