Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 194.9 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 226.6 MB / 243.4 MB, free: 8.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007848/0.0007848, allocations: 99.53 kB / 295.5 MB, free: 6.848 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3108/0.3108, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002789, allocations: 8 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3543, allocations: 62.96 MB / 0.5159 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001552/0.3559, allocations: 1.3 MB / 0.5171 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006542/0.3566, allocations: 0.496 MB / 0.5176 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.3567, allocations: 0 / 0.5176 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.3569, allocations: 79.28 kB / 0.5177 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.3572, allocations: 83 kB / 0.5178 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.3574, allocations: 79.53 kB / 0.5179 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.3575, allocations: 72.23 kB / 0.5179 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3576, allocations: 17.84 kB / 0.518 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.3577, allocations: 32.84 kB / 0.518 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.3578, allocations: 49 kB / 0.518 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3578, allocations: 0 / 0.518 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.505e-05/0.3579, allocations: 40.42 kB / 0.5181 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.3579, allocations: 21.25 kB / 0.5181 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.358, allocations: 47.02 kB / 0.5181 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3581, allocations: 75.89 kB / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3581, allocations: 0 / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3581, allocations: 4 kB / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3581, allocations: 0 / 0.5182 GB, free: 35.39 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.000383/0.3585, allocations: 404.9 kB / 0.5186 GB, free: 34.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3586, allocations: 9.688 kB / 0.5186 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.3586, allocations: 14.22 kB / 0.5186 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.3588, allocations: 203.6 kB / 0.5188 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3588, allocations: 384 / 0.5188 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3588, allocations: 7.188 kB / 0.5188 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.359, allocations: 59.11 kB / 0.5189 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.359, allocations: 0 / 0.5189 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.359, allocations: 4 kB / 0.5189 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.359, allocations: 0 / 0.5189 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/0.3591, allocations: 38.58 kB / 0.5189 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.3595, allocations: 294.8 kB / 0.5192 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.705e-05/0.3596, allocations: 43.2 kB / 0.5192 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.3596, allocations: 16.69 kB / 0.5193 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.3597, allocations: 6.75 kB / 0.5193 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3597, allocations: 34.56 kB / 0.5193 GB, free: 34.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3597, allocations: 4 kB / 0.5193 GB, free: 34.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007977/0.3605, allocations: 241.6 kB / 0.5195 GB, free: 34.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.3605, allocations: 54.69 kB / 0.5196 GB, free: 34.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3607, allocations: 221.1 kB / 0.5198 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.3607, allocations: 25.7 kB / 0.5198 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.3608, allocations: 113.2 kB / 0.5199 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.3608, allocations: 25.77 kB / 0.5199 GB, free: 33.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.3608, allocations: 4 kB / 0.52 GB, free: 33.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.3609, allocations: 324.1 kB / 0.5203 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.3609, allocations: 23.05 kB / 0.5203 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.361, allocations: 37.5 kB / 0.5203 GB, free: 33.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3611, allocations: 68.42 kB / 0.5204 GB, free: 33.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3612, allocations: 0 / 0.5204 GB, free: 33.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001764/0.3613, allocations: 111 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3614, allocations: 8.219 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3614, allocations: 0 / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3614, allocations: 0 / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.3615, allocations: 23.31 kB / 0.5205 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3615, allocations: 3.938 kB / 0.5205 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.3615, allocations: 9.75 kB / 0.5205 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3616, allocations: 3.031 kB / 0.5205 GB, free: 33.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/0.3616, allocations: 133.8 kB / 0.5207 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3617, allocations: 9.75 kB / 0.5207 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.3619, allocations: 129.5 kB / 0.5208 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3619, allocations: 432 / 0.5208 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3619, allocations: 4 kB / 0.5208 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3619, allocations: 11.88 kB / 0.5208 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.3623, allocations: 409.3 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3623, allocations: 2.812 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.3624, allocations: 20.31 kB / 0.5212 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3624, allocations: 10.83 kB / 0.5212 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3624, allocations: 0 / 0.5212 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3624, allocations: 7.031 kB / 0.5212 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3625, allocations: 0 / 0.5212 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.3627, allocations: 211.6 kB / 0.5214 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.3627, allocations: 95.95 kB / 0.5215 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3627, allocations: 2.906 kB / 0.5215 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.3628, allocations: 9.375 kB / 0.5215 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.3628, allocations: 5.641 kB / 0.5216 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.3628, allocations: 7.219 kB / 0.5216 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.363, allocations: 161.4 kB / 0.5217 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.363, allocations: 0 / 0.5217 GB, free: 32.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.3632, allocations: 22.47 kB / 0.5217 GB, free: 32.49 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 (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.0009232/0.3641, allocations: 453.5 kB / 0.5222 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.3643, allocations: 65.22 kB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3643, allocations: 0 / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.3644, allocations: 44.5 kB / 0.5223 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3647, allocations: 20.09 kB / 0.5223 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.3652, allocations: 301.8 kB / 0.5226 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.3653, allocations: 0.704 MB / 0.5233 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.3654, allocations: 15.66 kB / 0.5233 GB, free: 31.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3654, allocations: 0 / 0.5233 GB, free: 31.3 MB / 378.7 MB Notification: Performance of Templates: time 0.00268/0.3681, allocations: 1.747 MB / 0.525 GB, free: 31.08 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches