Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 200.8 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000758/0.000758, allocations: 103.7 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1816/0.1816, allocations: 44.84 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002621, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.0987, allocations: 62.96 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001866/0.1006, allocations: 1.392 MB / 0.5167 GB, free: 1.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.102, allocations: 0.9285 MB / 0.5176 GB, free: 436 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.102, allocations: 0 / 0.5176 GB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1023, allocations: 59.86 kB / 0.5177 GB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1026, allocations: 87.66 kB / 0.5177 GB, free: 288 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1028, allocations: 86.33 kB / 0.5178 GB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.103, allocations: 95.67 kB / 0.5179 GB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.1031, allocations: 12.22 kB / 0.5179 GB, free: 96 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.1031, allocations: 39.78 kB / 0.518 GB, free: 56 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.1033, allocations: 43.83 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1033, allocations: 0 / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1813/0.2846, allocations: 19.48 kB / 0.518 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.2847, allocations: 16.64 kB / 0.518 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.2848, allocations: 38.83 kB / 0.5181 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.285, allocations: 78.98 kB / 0.5182 GB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.285, allocations: 0.7812 kB / 0.5182 GB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.285, allocations: 0 / 0.5182 GB, free: 9.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.285, allocations: 0 / 0.5182 GB, free: 9.848 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004285/0.2855, allocations: 398.2 kB / 0.5185 GB, free: 9.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2855, allocations: 7.75 kB / 0.5185 GB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.2855, allocations: 17.72 kB / 0.5186 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.2857, allocations: 210.7 kB / 0.5188 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2857, allocations: 1.719 kB / 0.5188 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.2858, allocations: 1.984 kB / 0.5188 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.2859, allocations: 47.64 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2859, allocations: 2.062 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2859, allocations: 4.031 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2859, allocations: 0 / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.286, allocations: 17.45 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.2862, allocations: 188.3 kB / 0.519 GB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2863, allocations: 50.58 kB / 0.5191 GB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.2864, allocations: 20.05 kB / 0.5191 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2864, allocations: 0.625 kB / 0.5191 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.2866, allocations: 69.81 kB / 0.5191 GB, free: 8.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.2866, allocations: 0.9844 kB / 0.5191 GB, free: 8.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002659/0.2868, allocations: 92.53 kB / 0.5192 GB, free: 8.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.2869, allocations: 55.7 kB / 0.5193 GB, free: 8.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2871, allocations: 202.8 kB / 0.5195 GB, free: 8.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.2871, allocations: 27.05 kB / 0.5195 GB, free: 8.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.2871, allocations: 100.9 kB / 0.5196 GB, free: 8.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.2871, allocations: 14.67 kB / 0.5196 GB, free: 8.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2872, allocations: 1.625 kB / 0.5196 GB, free: 8.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.2872, allocations: 323.3 kB / 0.5199 GB, free: 8.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.2873, allocations: 14.36 kB / 0.5199 GB, free: 8.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.2873, allocations: 32.27 kB / 0.52 GB, free: 8.301 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.2874, allocations: 17.05 kB / 0.52 GB, free: 8.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2874, allocations: 3.953 kB / 0.52 GB, free: 8.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001363/0.2875, allocations: 83.14 kB / 0.5201 GB, free: 8.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2875, allocations: 6.406 kB / 0.5201 GB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2876, allocations: 0.7188 kB / 0.5201 GB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2876, allocations: 0.6875 kB / 0.5201 GB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.2876, allocations: 14.91 kB / 0.5201 GB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2877, allocations: 6.469 kB / 0.5201 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.2877, allocations: 9.578 kB / 0.5201 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2877, allocations: 3.969 kB / 0.5201 GB, free: 8.25 MB / 346.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.485e-05/0.2878, allocations: 120.6 kB / 0.5202 GB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.2878, allocations: 14.2 kB / 0.5202 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.2879, allocations: 14.8 kB / 0.5203 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.2879, allocations: 1.656 kB / 0.5203 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2879, allocations: 1.625 kB / 0.5203 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2879, allocations: 0.5625 kB / 0.5203 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.288, allocations: 190.1 kB / 0.5204 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.288, allocations: 0.9062 kB / 0.5204 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.288, allocations: 7.688 kB / 0.5204 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.288, allocations: 1.219 kB / 0.5204 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.288, allocations: 8.328 kB / 0.5205 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.288, allocations: 0.7031 kB / 0.5205 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2881, allocations: 1.188 kB / 0.5205 GB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.2882, allocations: 109.5 kB / 0.5206 GB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.2882, allocations: 89.91 kB / 0.5206 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.2883, allocations: 5.812 kB / 0.5207 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.2883, allocations: 3.188 kB / 0.5207 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.2884, allocations: 5.75 kB / 0.5207 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.2884, allocations: 3.266 kB / 0.5207 GB, free: 7.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.2885, allocations: 146.8 kB / 0.5208 GB, free: 7.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2885, allocations: 0.875 kB / 0.5208 GB, free: 7.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.2887, allocations: 13.94 kB / 0.5208 GB, free: 7.68 MB / 346.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007318/0.2894, allocations: 427 kB / 0.5212 GB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2896, allocations: 37.05 kB / 0.5213 GB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2896, allocations: 0 / 0.5213 GB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.2897, allocations: 23.06 kB / 0.5213 GB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.2899, allocations: 22.7 kB / 0.5213 GB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.2902, allocations: 245.7 kB / 0.5215 GB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2904, allocations: 0.7027 MB / 0.5222 GB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.2904, allocations: 14.42 kB / 0.5222 GB, free: 6.586 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2904, allocations: 0 / 0.5222 GB, free: 6.586 MB / 346.7 MB Notification: Performance of Templates: time 0.003142/0.2935, allocations: 1.721 MB / 0.5239 GB, free: 6.414 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches