Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009465/0.0009466, allocations: 198.7 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.253/1.253, 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.0007732/0.0007733, allocations: 101.4 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1846/0.1846, allocations: 44.83 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 11.98 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09558, allocations: 62.96 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001827/0.09745, allocations: 1.424 MB / 0.5167 GB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.09871, allocations: 0.9441 MB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.09879, allocations: 3.938 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.09905, allocations: 35.89 kB / 0.5177 GB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.09926, allocations: 71.73 kB / 0.5178 GB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.0995, allocations: 102.1 kB / 0.5179 GB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.09964, allocations: 87.7 kB / 0.5179 GB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.829e-05/0.09973, allocations: 19.97 kB / 0.518 GB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.0998, allocations: 35.8 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.185/0.2848, allocations: 26.14 kB / 0.518 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.2848, allocations: 1.281 kB / 0.518 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.285, allocations: 36.34 kB / 0.5181 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.2851, allocations: 20.2 kB / 0.5181 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.2851, allocations: 38.97 kB / 0.5181 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2853, allocations: 94.09 kB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2854, allocations: 0.625 kB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2854, allocations: 1.203 kB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2854, allocations: 2.75 kB / 0.5182 GB, free: 9.828 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004773/0.2859, allocations: 404.4 kB / 0.5186 GB, free: 9.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2859, allocations: 14.02 kB / 0.5186 GB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.286, allocations: 10.17 kB / 0.5186 GB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2862, allocations: 212.5 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.2862, allocations: 3.125 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.2862, allocations: 2.906 kB / 0.5188 GB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.2864, allocations: 59.06 kB / 0.5189 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2864, allocations: 6.906 kB / 0.5189 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2864, allocations: 1.156 kB / 0.5189 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2864, allocations: 2.031 kB / 0.5189 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.2865, allocations: 23.2 kB / 0.5189 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.2868, allocations: 287.8 kB / 0.5192 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.287, allocations: 62.69 kB / 0.5192 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.287, allocations: 19.14 kB / 0.5193 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2871, allocations: 3.25 kB / 0.5193 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.2872, allocations: 65.91 kB / 0.5193 GB, free: 8.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.2872, allocations: 4 kB / 0.5193 GB, free: 8.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005025/0.2877, allocations: 169.8 kB / 0.5195 GB, free: 8.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.2878, allocations: 57.81 kB / 0.5195 GB, free: 8.734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.288, allocations: 215.4 kB / 0.5198 GB, free: 8.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.288, allocations: 28.8 kB / 0.5198 GB, free: 8.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.288, allocations: 102.4 kB / 0.5199 GB, free: 8.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.2881, allocations: 31.25 kB / 0.5199 GB, free: 8.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.2881, allocations: 2.125 kB / 0.5199 GB, free: 8.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.2881, allocations: 327.8 kB / 0.5202 GB, free: 8.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.2882, allocations: 19.75 kB / 0.5202 GB, free: 8.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.807e-05/0.2883, allocations: 38.42 kB / 0.5203 GB, free: 8.164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.2883, allocations: 21.64 kB / 0.5203 GB, free: 8.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2883, allocations: 0 / 0.5203 GB, free: 8.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.2885, allocations: 99.62 kB / 0.5204 GB, free: 8.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2885, allocations: 9.906 kB / 0.5204 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2885, allocations: 4.531 kB / 0.5204 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2886, allocations: 1.562 kB / 0.5204 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.2887, allocations: 15.22 kB / 0.5204 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2887, allocations: 6.469 kB / 0.5204 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.2887, allocations: 6.719 kB / 0.5204 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2887, allocations: 6.203 kB / 0.5204 GB, free: 8.117 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 (10): * Single equations (assignments): 10 * 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 7.389e-05/0.2888, allocations: 124.8 kB / 0.5206 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.2888, allocations: 13.55 kB / 0.5206 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.2889, allocations: 22.91 kB / 0.5206 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.2889, allocations: 0.9375 kB / 0.5206 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2889, allocations: 0.6562 kB / 0.5206 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2889, allocations: 0.6562 kB / 0.5206 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.2893, allocations: 398.2 kB / 0.521 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2893, allocations: 2.625 kB / 0.521 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.2893, allocations: 8.453 kB / 0.521 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2893, allocations: 1.547 kB / 0.521 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2893, allocations: 10.02 kB / 0.521 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2893, allocations: 1.031 kB / 0.521 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2893, allocations: 9.156 kB / 0.521 GB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.2895, allocations: 200.9 kB / 0.5212 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.2896, allocations: 90.75 kB / 0.5213 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.2896, allocations: 2.531 kB / 0.5213 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.2897, allocations: 13.38 kB / 0.5213 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.2897, allocations: 9.453 kB / 0.5213 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2897, allocations: 3.906 kB / 0.5213 GB, free: 7.426 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.2899, allocations: 159.2 kB / 0.5215 GB, free: 7.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2899, allocations: 0 / 0.5215 GB, free: 7.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.2901, allocations: 22.95 kB / 0.5215 GB, free: 7.352 MB / 346.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0008488/0.291, allocations: 465.5 kB / 0.5219 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.2911, allocations: 56.36 kB / 0.522 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2911, allocations: 1.188 kB / 0.522 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.2912, allocations: 30.02 kB / 0.522 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2915, allocations: 38.66 kB / 0.5221 GB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.2919, allocations: 287.2 kB / 0.5223 GB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.2921, allocations: 0.7084 MB / 0.523 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.2921, allocations: 17.67 kB / 0.523 GB, free: 6.211 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2921, allocations: 0 / 0.523 GB, free: 6.211 MB / 346.7 MB Notification: Performance of Templates: time 0.003615/0.2957, allocations: 1.962 MB / 0.525 GB, free: 6.012 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches