Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.00159, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001057/0.001057, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2773/0.2773, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.711e-05, allocations: 4 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 58.85 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4735/0.5851, allocations: 87.73 MB / 0.5585 GB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5854, allocations: 73.64 kB / 0.5585 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03462/0.62, allocations: 7.829 MB / 0.5662 GB, free: 9.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6201, allocations: 0 / 0.5662 GB, free: 9.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.6201, allocations: 4 kB / 0.5662 GB, free: 9.148 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008762/0.621, allocations: 0.4922 MB / 0.5667 GB, free: 8.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6211, allocations: 8.031 kB / 0.5667 GB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.6212, allocations: 31.58 kB / 0.5667 GB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.6219, allocations: 310.5 kB / 0.567 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.622, allocations: 4 kB / 0.567 GB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.622, allocations: 7.188 kB / 0.567 GB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.6223, allocations: 95.11 kB / 0.5671 GB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6223, allocations: 0 / 0.5671 GB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.6223, allocations: 0 / 0.5671 GB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6224, allocations: 7.938 kB / 0.5671 GB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.6225, allocations: 41 kB / 0.5672 GB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.6234, allocations: 485.4 kB / 0.5676 GB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.6237, allocations: 105.9 kB / 0.5677 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.6238, allocations: 48.45 kB / 0.5678 GB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.6239, allocations: 3.984 kB / 0.5678 GB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.6241, allocations: 113 kB / 0.5679 GB, free: 7.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.805e-06/0.6242, allocations: 0 / 0.5679 GB, free: 7.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00111/0.6253, allocations: 338.3 kB / 0.5682 GB, free: 7.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.6254, allocations: 89.05 kB / 0.5683 GB, free: 6.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/0.6262, allocations: 427 kB / 0.5687 GB, free: 6.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.6262, allocations: 32.83 kB / 0.5687 GB, free: 6.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.6264, allocations: 198.5 kB / 0.5689 GB, free: 6.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.6265, allocations: 53.59 kB / 0.569 GB, free: 6.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.6265, allocations: 2.938 kB / 0.569 GB, free: 6.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6266, allocations: 321.8 kB / 0.5693 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.6268, allocations: 38.19 kB / 0.5693 GB, free: 6.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.6269, allocations: 72.81 kB / 0.5694 GB, free: 6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.6271, allocations: 43.94 kB / 0.5694 GB, free: 5.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6271, allocations: 0 / 0.5694 GB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004094/0.6275, allocations: 160.4 kB / 0.5696 GB, free: 5.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.6275, allocations: 8 kB / 0.5696 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6276, allocations: 4.062 kB / 0.5696 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6276, allocations: 4 kB / 0.5696 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.6279, allocations: 27.98 kB / 0.5696 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.6279, allocations: 0 / 0.5696 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.6281, allocations: 16.17 kB / 0.5696 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.6281, allocations: 4 kB / 0.5696 GB, free: 5.781 MB / 378.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001193/0.6283, allocations: 120.3 kB / 0.5698 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.6284, allocations: 31.62 kB / 0.5698 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.629, allocations: 224.3 kB / 0.57 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.629, allocations: 4.094 kB / 0.57 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.629, allocations: 7.938 kB / 0.57 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.629, allocations: 3.984 kB / 0.57 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.6303, allocations: 0.6906 MB / 0.5707 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6304, allocations: 4.062 kB / 0.5707 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.6305, allocations: 19.98 kB / 0.5707 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.6305, allocations: 7.938 kB / 0.5707 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.6306, allocations: 7.625 kB / 0.5707 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.6306, allocations: 0 / 0.5707 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6306, allocations: 3.938 kB / 0.5707 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.6312, allocations: 419.3 kB / 0.5711 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.6314, allocations: 119.9 kB / 0.5712 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.6315, allocations: 15.31 kB / 0.5713 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.6317, allocations: 11.69 kB / 0.5713 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.6318, allocations: 11.98 kB / 0.5713 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.6318, allocations: 15.61 kB / 0.5713 GB, free: 4.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005913/0.6324, allocations: 351.5 kB / 0.5716 GB, free: 3.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6325, allocations: 0 / 0.5716 GB, free: 3.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005406/0.633, allocations: 59.25 kB / 0.5717 GB, free: 3.836 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.00129/0.6343, allocations: 432.8 kB / 0.5721 GB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.6347, allocations: 120.5 kB / 0.5722 GB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6348, allocations: 0 / 0.5722 GB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.6349, allocations: 62.64 kB / 0.5723 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.6356, allocations: 65 kB / 0.5723 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.6369, allocations: 489.7 kB / 0.5728 GB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.6374, allocations: 0.7816 MB / 0.5736 GB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.6375, allocations: 34.48 kB / 0.5736 GB, free: 1.992 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6375, allocations: 0 / 0.5736 GB, free: 1.992 MB / 378.7 MB Notification: Performance of Templates: time 0.009468/0.647, allocations: 3.57 MB / 0.5771 GB, free: 14.45 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches