Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 186.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 100.7 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5135/0.5135, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005153, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.127, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/0.5977, allocations: 87.75 MB / 0.5644 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.598, allocations: 71.95 kB / 0.5645 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02567/0.6237, allocations: 5.853 MB / 0.5702 GB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6237, allocations: 0.5469 kB / 0.5702 GB, free: 9.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.6238, allocations: 8 kB / 0.5702 GB, free: 9.078 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008937/0.6247, allocations: 473.5 kB / 0.5707 GB, free: 8.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.6247, allocations: 19.94 kB / 0.5707 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.6248, allocations: 19.25 kB / 0.5707 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.6254, allocations: 236.9 kB / 0.5709 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.6254, allocations: 4 kB / 0.5709 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.6255, allocations: 7.984 kB / 0.5709 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.6258, allocations: 105 kB / 0.5711 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.6258, allocations: 0 / 0.5711 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.6258, allocations: 7.984 kB / 0.5711 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6258, allocations: 1.031 kB / 0.5711 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.626, allocations: 31.97 kB / 0.5711 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.6264, allocations: 222.5 kB / 0.5713 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.6268, allocations: 113.2 kB / 0.5714 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.6269, allocations: 0 / 0.5714 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.6272, allocations: 117.1 kB / 0.5715 GB, free: 7.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.6272, allocations: 0 / 0.5715 GB, free: 7.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007344/0.628, allocations: 169.4 kB / 0.5717 GB, free: 7.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/0.6281, allocations: 128.5 kB / 0.5718 GB, free: 7.234 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.6284, allocations: 202.9 kB / 0.572 GB, free: 7.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.6285, allocations: 29.7 kB / 0.572 GB, free: 6.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6286, allocations: 174.6 kB / 0.5722 GB, free: 6.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.6287, allocations: 23.62 kB / 0.5722 GB, free: 6.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.6287, allocations: 0 / 0.5722 GB, free: 6.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.6289, allocations: 326.8 kB / 0.5725 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.6291, allocations: 27.98 kB / 0.5726 GB, free: 6.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.6293, allocations: 73.12 kB / 0.5726 GB, free: 6.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.6295, allocations: 39.92 kB / 0.5727 GB, free: 6.312 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.6295, allocations: 3.938 kB / 0.5727 GB, free: 6.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004516/0.6299, allocations: 121.6 kB / 0.5728 GB, free: 6.184 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.63, allocations: 7.984 kB / 0.5728 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.63, allocations: 0 / 0.5728 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.63, allocations: 7.938 kB / 0.5728 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.6302, allocations: 24.03 kB / 0.5728 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.6303, allocations: 7.984 kB / 0.5728 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.6304, allocations: 15.84 kB / 0.5728 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.6305, allocations: 4 kB / 0.5728 GB, free: 6.117 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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 0.00018/0.6307, allocations: 133.8 kB / 0.573 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.6307, allocations: 15.81 kB / 0.573 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/0.6313, allocations: 163.2 kB / 0.5731 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.6313, allocations: 4.125 kB / 0.5731 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6313, allocations: 4 kB / 0.5732 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6313, allocations: 0 / 0.5732 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.6316, allocations: 229.5 kB / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6317, allocations: 0 / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.6318, allocations: 11.94 kB / 0.5734 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.6318, allocations: 0 / 0.5734 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.6318, allocations: 11.98 kB / 0.5734 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6319, allocations: 0 / 0.5734 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6319, allocations: 0 / 0.5734 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.6324, allocations: 199.3 kB / 0.5736 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.6325, allocations: 100.9 kB / 0.5737 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.6326, allocations: 4 kB / 0.5737 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.6327, allocations: 8 kB / 0.5737 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.6328, allocations: 15.92 kB / 0.5737 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.6328, allocations: 11.98 kB / 0.5737 GB, free: 5.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.6331, allocations: 161.5 kB / 0.5739 GB, free: 4.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6331, allocations: 0 / 0.5739 GB, free: 4.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.6335, allocations: 43.98 kB / 0.5739 GB, free: 4.918 MB / 394.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001329/0.6349, allocations: 471.8 kB / 0.5744 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.6353, allocations: 91.83 kB / 0.5745 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.6354, allocations: 0 / 0.5745 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.6356, allocations: 47.86 kB / 0.5745 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.6361, allocations: 53.89 kB / 0.5745 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/0.6369, allocations: 323.1 kB / 0.5749 GB, free: 4.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.6373, allocations: 0.7283 MB / 0.5756 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.6375, allocations: 23.42 kB / 0.5756 GB, free: 3.242 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6375, allocations: 0 / 0.5756 GB, free: 3.242 MB / 394.7 MB Notification: Performance of Templates: time 0.007397/0.6449, allocations: 2.702 MB / 0.5782 GB, free: 0.5469 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches