Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002551/0.002551, allocations: 181.3 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.219/2.219, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001125/0.001125, allocations: 86.69 kB / 267.5 MB, free: 14.05 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.2837/0.2837, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.058e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.59, allocations: 88.61 MB / 0.5593 GB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5903, allocations: 78.17 kB / 0.5594 GB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.6097, allocations: 4.237 MB / 0.5635 GB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6097, allocations: 0 / 0.5635 GB, free: 11.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.6097, allocations: 8 kB / 0.5636 GB, free: 11.44 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007273/0.6105, allocations: 451 kB / 0.564 GB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.6106, allocations: 12.03 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.6106, allocations: 7.906 kB / 0.564 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.6111, allocations: 231.1 kB / 0.5642 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.6111, allocations: 11.69 kB / 0.5642 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.6112, allocations: 4 kB / 0.5642 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.6114, allocations: 94.62 kB / 0.5643 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.6115, allocations: 3.938 kB / 0.5643 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.6115, allocations: 7.625 kB / 0.5643 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.6115, allocations: 3.984 kB / 0.5643 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.6116, allocations: 35 kB / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008373/0.6125, allocations: 0.5245 MB / 0.5649 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.6129, allocations: 84.8 kB / 0.565 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.613, allocations: 39.53 kB / 0.565 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.6131, allocations: 0 / 0.565 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.6133, allocations: 78.34 kB / 0.5651 GB, free: 9.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.6133, allocations: 0 / 0.5651 GB, free: 9.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003554/0.6137, allocations: 104 kB / 0.5652 GB, free: 9.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.6137, allocations: 59.41 kB / 0.5652 GB, free: 9.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.614, allocations: 175.1 kB / 0.5654 GB, free: 9.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.614, allocations: 25.7 kB / 0.5654 GB, free: 9.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.6142, allocations: 172.7 kB / 0.5656 GB, free: 9.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.6142, allocations: 31.23 kB / 0.5656 GB, free: 9.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.6142, allocations: 3.688 kB / 0.5656 GB, free: 9.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6144, allocations: 314.8 kB / 0.5659 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.6145, allocations: 26.56 kB / 0.566 GB, free: 8.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.6146, allocations: 66.84 kB / 0.566 GB, free: 8.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.6147, allocations: 27.11 kB / 0.566 GB, free: 8.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6147, allocations: 0 / 0.566 GB, free: 8.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003134/0.6151, allocations: 130 kB / 0.5662 GB, free: 8.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6151, allocations: 4 kB / 0.5662 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6151, allocations: 4 kB / 0.5662 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6151, allocations: 3.953 kB / 0.5662 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.6154, allocations: 27.92 kB / 0.5662 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.6154, allocations: 4 kB / 0.5662 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.6155, allocations: 7.938 kB / 0.5662 GB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.6156, allocations: 7.375 kB / 0.5662 GB, free: 8.684 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete 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.0001113/0.6157, allocations: 119.9 kB / 0.5663 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.6157, allocations: 15.81 kB / 0.5664 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.6161, allocations: 117.1 kB / 0.5665 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6161, allocations: 3.953 kB / 0.5665 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6162, allocations: 0 / 0.5665 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6162, allocations: 0 / 0.5665 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.6164, allocations: 218 kB / 0.5667 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6165, allocations: 0 / 0.5667 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.6166, allocations: 19.56 kB / 0.5667 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6167, allocations: 4 kB / 0.5667 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.6167, allocations: 0 / 0.5667 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6167, allocations: 0 / 0.5667 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.6167, allocations: 7.938 kB / 0.5667 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.6172, allocations: 168.7 kB / 0.5669 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.6173, allocations: 99.81 kB / 0.567 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.6174, allocations: 4 kB / 0.567 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.6175, allocations: 11.44 kB / 0.567 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.6176, allocations: 7.984 kB / 0.567 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.6176, allocations: 7.953 kB / 0.567 GB, free: 7.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.6178, allocations: 143.7 kB / 0.5671 GB, free: 7.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6178, allocations: 288 / 0.5671 GB, free: 7.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.6182, allocations: 34.44 kB / 0.5672 GB, free: 7.734 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001115/0.6193, allocations: 381.8 kB / 0.5675 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.6196, allocations: 72.61 kB / 0.5676 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6196, allocations: 0 / 0.5676 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.6197, allocations: 38.25 kB / 0.5676 GB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.6202, allocations: 48.02 kB / 0.5677 GB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.6208, allocations: 217.3 kB / 0.5679 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.6212, allocations: 0.7206 MB / 0.5686 GB, free: 6.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.6213, allocations: 15.44 kB / 0.5686 GB, free: 6.305 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6214, allocations: 0 / 0.5686 GB, free: 6.305 MB / 378.7 MB Notification: Performance of Templates: time 0.006289/0.6276, allocations: 2.164 MB / 0.5707 GB, free: 4.152 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches