Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002254/0.002259, allocations: 180.9 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 1.991/1.991, 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.001094/0.001094, allocations: 89.97 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.2758/0.2758, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.272e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.5787, allocations: 88.61 MB / 0.5593 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.579, allocations: 78.23 kB / 0.5594 GB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01912/0.5982, allocations: 4.239 MB / 0.5635 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5982, allocations: 0 / 0.5635 GB, free: 11.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.5983, allocations: 8 kB / 0.5636 GB, free: 11.38 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.0006979/0.599, allocations: 454.6 kB / 0.564 GB, free: 10.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.599, allocations: 12.03 kB / 0.564 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.5991, allocations: 7.906 kB / 0.564 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.5996, allocations: 238.8 kB / 0.5642 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.5996, allocations: 4 kB / 0.5642 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.5997, allocations: 7.312 kB / 0.5642 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.5999, allocations: 106 kB / 0.5643 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5999, allocations: 4 kB / 0.5643 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.6, allocations: 3.625 kB / 0.5644 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6, allocations: 0 / 0.5644 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.6001, allocations: 37.88 kB / 0.5644 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.601, allocations: 0.5153 MB / 0.5649 GB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.6013, allocations: 87.92 kB / 0.565 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/0.6014, allocations: 30.73 kB / 0.565 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.6015, allocations: 0 / 0.565 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.6017, allocations: 80.89 kB / 0.5651 GB, free: 9.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.6017, allocations: 0 / 0.5651 GB, free: 9.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003446/0.6021, allocations: 113.3 kB / 0.5652 GB, free: 9.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.6021, allocations: 51.41 kB / 0.5652 GB, free: 9.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.6024, allocations: 168.3 kB / 0.5654 GB, free: 9.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.6024, allocations: 28.95 kB / 0.5654 GB, free: 9.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.6026, allocations: 171.8 kB / 0.5656 GB, free: 9.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.6026, allocations: 34.69 kB / 0.5656 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.6026, allocations: 7.312 kB / 0.5656 GB, free: 9.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.6028, allocations: 314.2 kB / 0.5659 GB, free: 8.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.6029, allocations: 35.02 kB / 0.566 GB, free: 8.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.603, allocations: 62.05 kB / 0.566 GB, free: 8.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.389e-05/0.6031, allocations: 29.73 kB / 0.5661 GB, free: 8.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6031, allocations: 0 / 0.5661 GB, free: 8.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003233/0.6034, allocations: 118.6 kB / 0.5662 GB, free: 8.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6035, allocations: 8 kB / 0.5662 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6035, allocations: 0 / 0.5662 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6035, allocations: 3.953 kB / 0.5662 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.6037, allocations: 31.73 kB / 0.5662 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.6038, allocations: 4 kB / 0.5662 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.6039, allocations: 11.92 kB / 0.5662 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.604, allocations: 4.125 kB / 0.5662 GB, free: 8.621 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.0001058/0.6041, allocations: 112.9 kB / 0.5663 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.6041, allocations: 15.81 kB / 0.5663 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.6045, allocations: 125.5 kB / 0.5665 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6045, allocations: 3.953 kB / 0.5665 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6045, allocations: 0 / 0.5665 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6045, allocations: 3.984 kB / 0.5665 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.6048, allocations: 210.2 kB / 0.5667 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6048, allocations: 0 / 0.5667 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.605, allocations: 23.92 kB / 0.5667 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.605, allocations: 0 / 0.5667 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.605, allocations: 0 / 0.5667 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.605, allocations: 192 / 0.5667 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.605, allocations: 7.953 kB / 0.5667 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.6055, allocations: 174.5 kB / 0.5669 GB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.6056, allocations: 96.02 kB / 0.567 GB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.6056, allocations: 4 kB / 0.567 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6058, allocations: 12.05 kB / 0.567 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.6058, allocations: 11.3 kB / 0.567 GB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.6059, allocations: 7.953 kB / 0.567 GB, free: 7.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.606, allocations: 138.2 kB / 0.5671 GB, free: 7.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6061, allocations: 0 / 0.5671 GB, free: 7.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.6064, allocations: 42.3 kB / 0.5672 GB, free: 7.664 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.001139/0.6075, allocations: 389.8 kB / 0.5675 GB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.6078, allocations: 67.75 kB / 0.5676 GB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6079, allocations: 0 / 0.5676 GB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.608, allocations: 38.42 kB / 0.5676 GB, free: 7.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.6084, allocations: 39.3 kB / 0.5677 GB, free: 7.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.609, allocations: 215.9 kB / 0.5679 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.6094, allocations: 0.7206 MB / 0.5686 GB, free: 6.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.6095, allocations: 19.42 kB / 0.5686 GB, free: 6.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6095, allocations: 0 / 0.5686 GB, free: 6.242 MB / 378.7 MB Notification: Performance of Templates: time 0.006116/0.6156, allocations: 2.155 MB / 0.5707 GB, free: 4.098 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches