Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001343, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.448/1.448, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008366/0.0008366, allocations: 82.62 kB / 267 MB, free: 9.27 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.3569/0.3569, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.888e-05, allocations: 12 kB / 425.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.4687, allocations: 87.62 MB / 0.5584 GB, free: 1.391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.4689, allocations: 81.22 kB / 0.5585 GB, free: 1.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.482, allocations: 5.31 MB / 0.5636 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4821, allocations: 0 / 0.5636 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4821, allocations: 0 / 0.5636 GB, free: 12.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004385/0.4826, allocations: 403.8 kB / 0.564 GB, free: 11.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4826, allocations: 12.02 kB / 0.564 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.4827, allocations: 11.34 kB / 0.5641 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.4829, allocations: 204 kB / 0.5643 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.483, allocations: 0 / 0.5643 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.483, allocations: 7.984 kB / 0.5643 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.4831, allocations: 49.69 kB / 0.5643 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4831, allocations: 0 / 0.5643 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.4832, allocations: 1.375 kB / 0.5643 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.4832, allocations: 0 / 0.5643 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.4832, allocations: 27.92 kB / 0.5643 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.4836, allocations: 292.8 kB / 0.5646 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.4837, allocations: 54.69 kB / 0.5647 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.4838, allocations: 16.98 kB / 0.5647 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.4838, allocations: 11.92 kB / 0.5647 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.4839, allocations: 67.34 kB / 0.5648 GB, free: 10.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4839, allocations: 0 / 0.5648 GB, free: 10.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004156/0.4844, allocations: 165.2 kB / 0.5649 GB, free: 10.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.4844, allocations: 51.41 kB / 0.565 GB, free: 10.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.4846, allocations: 166.6 kB / 0.5651 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4846, allocations: 25.7 kB / 0.5651 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.4846, allocations: 100.1 kB / 0.5652 GB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4847, allocations: 27.66 kB / 0.5653 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.4847, allocations: 4 kB / 0.5653 GB, free: 10.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4848, allocations: 318.8 kB / 0.5656 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.4848, allocations: 20 kB / 0.5656 GB, free: 9.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.4849, allocations: 39.3 kB / 0.5656 GB, free: 9.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.4849, allocations: 20 kB / 0.5657 GB, free: 9.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4849, allocations: 0 / 0.5657 GB, free: 9.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001397/0.4851, allocations: 101.5 kB / 0.5657 GB, free: 9.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4851, allocations: 8 kB / 0.5658 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.4851, allocations: 0 / 0.5658 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4851, allocations: 0 / 0.5658 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.4852, allocations: 12 kB / 0.5658 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4853, allocations: 7.953 kB / 0.5658 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.4853, allocations: 7.922 kB / 0.5658 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.4853, allocations: 4 kB / 0.5658 GB, free: 9.645 MB / 394.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 () * 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.313e-05/0.4854, allocations: 110.2 kB / 0.5659 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.4854, allocations: 17.98 kB / 0.5659 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.4856, allocations: 122.4 kB / 0.566 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4856, allocations: 0 / 0.566 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4857, allocations: 0 / 0.566 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4857, allocations: 3.953 kB / 0.566 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.486, allocations: 403.2 kB / 0.5664 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4861, allocations: 4 kB / 0.5664 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.4861, allocations: 12.03 kB / 0.5664 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4861, allocations: 0 / 0.5664 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4861, allocations: 4 kB / 0.5664 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.4862, allocations: 7.938 kB / 0.5664 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4862, allocations: 0 / 0.5664 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.4864, allocations: 218.2 kB / 0.5666 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.4864, allocations: 85.11 kB / 0.5667 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.4865, allocations: 19.89 kB / 0.5667 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.4865, allocations: 3.984 kB / 0.5668 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.4866, allocations: 4 kB / 0.5668 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4866, allocations: 4 kB / 0.5668 GB, free: 8.539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.4867, allocations: 131.2 kB / 0.5669 GB, free: 8.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.704e-06/0.4867, allocations: 0 / 0.5669 GB, free: 8.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.4869, allocations: 39.78 kB / 0.5669 GB, free: 8.371 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: 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.0008802/0.4878, allocations: 427.4 kB / 0.5673 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.488, allocations: 59.92 kB / 0.5674 GB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.488, allocations: 0 / 0.5674 GB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/0.488, allocations: 27.94 kB / 0.5674 GB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.4883, allocations: 32.09 kB / 0.5674 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.4886, allocations: 151.9 kB / 0.5676 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.4888, allocations: 0.7004 MB / 0.5683 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.4889, allocations: 24.84 kB / 0.5683 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.4889, allocations: 15.44 kB / 0.5683 GB, free: 6.969 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4889, allocations: 0 / 0.5683 GB, free: 6.969 MB / 394.7 MB Notification: Performance of Templates: time 0.003924/0.4929, allocations: 1.669 MB / 0.5699 GB, free: 5.312 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches