Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 198.4 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.394/1.394, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007391/0.0007391, allocations: 91.83 kB / 295.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3365/0.3365, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3739, allocations: 62.95 MB / 0.5159 GB, free: 37.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001754/0.3757, allocations: 1.308 MB / 0.5171 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000749/0.3765, allocations: 0.5011 MB / 0.5176 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.3765, allocations: 0 / 0.5176 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.3768, allocations: 83.58 kB / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.377, allocations: 88.91 kB / 0.5178 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3773, allocations: 96.31 kB / 0.5179 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.3775, allocations: 70.3 kB / 0.518 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3776, allocations: 28.05 kB / 0.518 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.3777, allocations: 26.94 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3778, allocations: 43.5 kB / 0.5181 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3778, allocations: 0 / 0.5181 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.3779, allocations: 42.05 kB / 0.5181 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.378, allocations: 15.27 kB / 0.5181 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.378, allocations: 62.23 kB / 0.5182 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3781, allocations: 70.33 kB / 0.5182 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3782, allocations: 0 / 0.5182 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3782, allocations: 0 / 0.5182 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3782, allocations: 6.938 kB / 0.5182 GB, free: 35.87 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.0004199/0.3786, allocations: 394.5 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3786, allocations: 9.75 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.3787, allocations: 18.47 kB / 0.5186 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.3789, allocations: 207.1 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.3789, allocations: 3.188 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3789, allocations: 4.359 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.3791, allocations: 65.17 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3791, allocations: 0 / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3791, allocations: 0 / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3791, allocations: 2.562 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.142e-05/0.3792, allocations: 28.44 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.3796, allocations: 316.8 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.3797, allocations: 46.38 kB / 0.5193 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.3797, allocations: 16.75 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3798, allocations: 2.781 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3798, allocations: 41.89 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3798, allocations: 0 / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008133/0.3806, allocations: 259.6 kB / 0.5196 GB, free: 34.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.3806, allocations: 55.34 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3808, allocations: 223.8 kB / 0.5199 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3808, allocations: 32.61 kB / 0.5199 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.3809, allocations: 106.2 kB / 0.52 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.3809, allocations: 25 kB / 0.52 GB, free: 34.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.3809, allocations: 4 kB / 0.52 GB, free: 34.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.381, allocations: 321.8 kB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.3811, allocations: 31.36 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.3811, allocations: 39.42 kB / 0.5204 GB, free: 34.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3813, allocations: 72.86 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3813, allocations: 2.656 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001945/0.3815, allocations: 132.6 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3815, allocations: 5.5 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3815, allocations: 2.938 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3815, allocations: 0 / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.3816, allocations: 17.16 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3817, allocations: 2.594 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.3817, allocations: 17.09 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3817, allocations: 4 kB / 0.5206 GB, free: 33.9 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.963e-05/0.3818, allocations: 129.1 kB / 0.5208 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3818, allocations: 9.75 kB / 0.5208 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3821, allocations: 141.4 kB / 0.5209 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3821, allocations: 6.969 kB / 0.5209 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3821, allocations: 0 / 0.5209 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3821, allocations: 3.938 kB / 0.5209 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.3825, allocations: 426.7 kB / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3826, allocations: 7.969 kB / 0.5213 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.3826, allocations: 18.36 kB / 0.5213 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3826, allocations: 7.359 kB / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3826, allocations: 0 / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3827, allocations: 0 / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3827, allocations: 2.938 kB / 0.5214 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.3829, allocations: 223.2 kB / 0.5216 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.3829, allocations: 98.98 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3829, allocations: 6.797 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.383, allocations: 9.078 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.3831, allocations: 2.656 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3831, allocations: 10.59 kB / 0.5217 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.3832, allocations: 161.5 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3832, allocations: 0 / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.3834, allocations: 19.06 kB / 0.5219 GB, free: 32.95 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.0009187/0.3843, allocations: 446.6 kB / 0.5223 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.3846, allocations: 87.55 kB / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3846, allocations: 0 / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.3847, allocations: 50.09 kB / 0.5224 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.385, allocations: 24.44 kB / 0.5224 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.3855, allocations: 311.7 kB / 0.5227 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.3857, allocations: 0.7081 MB / 0.5234 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3858, allocations: 16 kB / 0.5234 GB, free: 31.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3858, allocations: 0 / 0.5234 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003582/0.3894, allocations: 1.799 MB / 0.5252 GB, free: 31.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches