Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.001444, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 85.38 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3123/0.3123, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.397e-05/2.39e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.434, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.5959, allocations: 86.96 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5962, allocations: 71.97 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.6214, allocations: 5.621 MB / 0.5564 GB, free: 6.656 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.6215, allocations: 0 / 0.5564 GB, free: 6.656 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.6215, allocations: 7.938 kB / 0.5564 GB, free: 6.648 MB / 395.1 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.0005983/0.6221, allocations: 414.1 kB / 0.5568 GB, free: 6.199 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6222, allocations: 8.031 kB / 0.5568 GB, free: 6.191 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.6222, allocations: 15.91 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.6227, allocations: 226.7 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.6227, allocations: 4 kB / 0.557 GB, free: 5.91 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.6228, allocations: 7.984 kB / 0.557 GB, free: 5.902 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.042e-05/0.6229, allocations: 12 kB / 0.5571 GB, free: 5.891 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.623, allocations: 57.61 kB / 0.5571 GB, free: 5.828 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6231, allocations: 0 / 0.5571 GB, free: 5.828 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6231, allocations: 4 kB / 0.5571 GB, free: 5.824 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6231, allocations: 0 / 0.5571 GB, free: 5.824 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.6236, allocations: 289.3 kB / 0.5574 GB, free: 5.504 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.6238, allocations: 54.69 kB / 0.5574 GB, free: 5.441 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.6238, allocations: 16.98 kB / 0.5575 GB, free: 5.422 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.6238, allocations: 0 / 0.5575 GB, free: 5.422 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.624, allocations: 67.33 kB / 0.5575 GB, free: 5.344 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.624, allocations: 0 / 0.5575 GB, free: 5.344 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005744/0.6246, allocations: 153.2 kB / 0.5577 GB, free: 5.188 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.6247, allocations: 55.41 kB / 0.5577 GB, free: 5.121 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.6251, allocations: 237.7 kB / 0.5579 GB, free: 4.879 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.6251, allocations: 25.7 kB / 0.558 GB, free: 4.848 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.6252, allocations: 174.5 kB / 0.5581 GB, free: 4.676 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.6253, allocations: 27.64 kB / 0.5582 GB, free: 4.648 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.6253, allocations: 0 / 0.5582 GB, free: 4.648 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6254, allocations: 310.8 kB / 0.5585 GB, free: 4.336 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.6255, allocations: 20 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.6256, allocations: 37.7 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.6257, allocations: 23.98 kB / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.6257, allocations: 0 / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000211/0.6259, allocations: 85.52 kB / 0.5586 GB, free: 4.16 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.626, allocations: 8 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.626, allocations: 0 / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.626, allocations: 0 / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.6262, allocations: 15.98 kB / 0.5586 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.6262, allocations: 8.031 kB / 0.5586 GB, free: 4.129 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.6263, allocations: 0 / 0.5586 GB, free: 4.129 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.6263, allocations: 11.95 kB / 0.5587 GB, free: 4.117 MB / 395.1 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 () * 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 9.628e-05/0.6264, allocations: 105 kB / 0.5588 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.6265, allocations: 11.91 kB / 0.5588 GB, free: 3.996 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.6268, allocations: 119.5 kB / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6268, allocations: 0 / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6268, allocations: 4 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6269, allocations: 4 kB / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006551/0.6275, allocations: 403.8 kB / 0.5593 GB, free: 3.426 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.6275, allocations: 0 / 0.5593 GB, free: 3.426 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.6276, allocations: 8 kB / 0.5593 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6276, allocations: 0 / 0.5593 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.6277, allocations: 11.94 kB / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6277, allocations: 0 / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6277, allocations: 0 / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.628, allocations: 226.1 kB / 0.5595 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6281, allocations: 100.9 kB / 0.5596 GB, free: 3.043 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.6282, allocations: 4 kB / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.6283, allocations: 0 / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.6284, allocations: 11.94 kB / 0.5596 GB, free: 3.027 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.6284, allocations: 7.938 kB / 0.5596 GB, free: 3.02 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002685/0.6287, allocations: 196.2 kB / 0.5598 GB, free: 2.828 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6287, allocations: 0 / 0.5598 GB, free: 2.828 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.6291, allocations: 35.92 kB / 0.5599 GB, free: 2.793 MB / 395.1 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001141/0.6302, allocations: 398.1 kB / 0.5602 GB, free: 2.445 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.6305, allocations: 51.88 kB / 0.5603 GB, free: 2.395 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6305, allocations: 0 / 0.5603 GB, free: 2.395 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.6306, allocations: 31.92 kB / 0.5603 GB, free: 2.363 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.631, allocations: 27.78 kB / 0.5603 GB, free: 2.336 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.6316, allocations: 251.8 kB / 0.5606 GB, free: 2.059 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.632, allocations: 0.7236 MB / 0.5613 GB, free: 1.309 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.6321, allocations: 15.44 kB / 0.5613 GB, free: 1.293 MB / 395.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6321, allocations: 0 / 0.5613 GB, free: 1.293 MB / 395.1 MB Notification: Performance of Templates: time 0.005851/0.638, allocations: 2.138 MB / 0.5634 GB, free: 15.16 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches