Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.001619, allocations: 182.4 kB / 15.76 MB, free: 6.367 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.641/1.641, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009702/0.0009701, allocations: 94.81 kB / 270.2 MB, free: 13.36 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.2182/0.2182, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003299, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5661, allocations: 88.71 MB / 0.5654 GB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5664, allocations: 71.88 kB / 0.5655 GB, free: 11.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.578, allocations: 4.267 MB / 0.5696 GB, free: 7.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.578, allocations: 0 / 0.5696 GB, free: 7.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.578, allocations: 8 kB / 0.5696 GB, free: 7.477 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.0006325/0.5787, allocations: 470 kB / 0.5701 GB, free: 6.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.5787, allocations: 12.03 kB / 0.5701 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.5788, allocations: 15.81 kB / 0.5701 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.5791, allocations: 236.6 kB / 0.5703 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.5792, allocations: 7.688 kB / 0.5703 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.5792, allocations: 7.906 kB / 0.5703 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.5794, allocations: 109.1 kB / 0.5705 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5795, allocations: 3.938 kB / 0.5705 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5795, allocations: 0 / 0.5705 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5795, allocations: 7.984 kB / 0.5705 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.5797, allocations: 55.14 kB / 0.5705 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.5803, allocations: 0.5167 MB / 0.571 GB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.5807, allocations: 88.53 kB / 0.5711 GB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.5807, allocations: 3.938 kB / 0.5711 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.5809, allocations: 90.12 kB / 0.5712 GB, free: 5.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.5809, allocations: 0 / 0.5712 GB, free: 5.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003876/0.5813, allocations: 150.6 kB / 0.5713 GB, free: 5.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.5814, allocations: 55.41 kB / 0.5714 GB, free: 5.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.5815, allocations: 179.8 kB / 0.5716 GB, free: 5.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.5816, allocations: 25.7 kB / 0.5716 GB, free: 5.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.5817, allocations: 117.8 kB / 0.5717 GB, free: 5.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.5817, allocations: 34.59 kB / 0.5717 GB, free: 5.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.5817, allocations: 0 / 0.5717 GB, free: 5.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5818, allocations: 326 kB / 0.572 GB, free: 4.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.5819, allocations: 30.98 kB / 0.5721 GB, free: 4.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.582, allocations: 71.36 kB / 0.5721 GB, free: 4.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.624e-05/0.5821, allocations: 34.48 kB / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.5822, allocations: 7.938 kB / 0.5722 GB, free: 4.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002597/0.5824, allocations: 145.4 kB / 0.5723 GB, free: 4.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5825, allocations: 4 kB / 0.5723 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5825, allocations: 480 / 0.5723 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5825, allocations: 7.953 kB / 0.5723 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5826, allocations: 27.92 kB / 0.5724 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5826, allocations: 0 / 0.5724 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.5827, allocations: 19.72 kB / 0.5724 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.5827, allocations: 7.938 kB / 0.5724 GB, free: 4.645 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 () * Number of clocked 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.0001084/0.5828, allocations: 135.9 kB / 0.5725 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.5829, allocations: 11.91 kB / 0.5725 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.5831, allocations: 137.5 kB / 0.5727 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5832, allocations: 0 / 0.5727 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5832, allocations: 7.953 kB / 0.5727 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5832, allocations: 3.984 kB / 0.5727 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.5834, allocations: 216.2 kB / 0.5729 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5834, allocations: 0 / 0.5729 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.5834, allocations: 19.92 kB / 0.5729 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5835, allocations: 0 / 0.5729 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5835, allocations: 0 / 0.5729 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5835, allocations: 0 / 0.5729 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5835, allocations: 4 kB / 0.5729 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.5838, allocations: 200.8 kB / 0.5731 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.5839, allocations: 92.73 kB / 0.5732 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.584, allocations: 0 / 0.5732 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.584, allocations: 11.98 kB / 0.5732 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.5841, allocations: 11.8 kB / 0.5732 GB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.5841, allocations: 8 kB / 0.5732 GB, free: 3.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.5842, allocations: 143 kB / 0.5733 GB, free: 3.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5842, allocations: 0 / 0.5733 GB, free: 3.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.5845, allocations: 39.59 kB / 0.5734 GB, free: 3.641 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) * Number of clocked states: 0 () * 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.0009039/0.5854, allocations: 422.3 kB / 0.5738 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.5856, allocations: 90.39 kB / 0.5739 GB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5857, allocations: 2.875 kB / 0.5739 GB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.97e-05/0.5858, allocations: 42.72 kB / 0.5739 GB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.586, allocations: 38.05 kB / 0.5739 GB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.5865, allocations: 294.8 kB / 0.5742 GB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.5868, allocations: 0.732 MB / 0.5749 GB, free: 2.098 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.613e-05/0.5869, allocations: 21.06 kB / 0.575 GB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.587, allocations: 15.44 kB / 0.575 GB, free: 2.062 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.587, allocations: 0 / 0.575 GB, free: 2.062 MB / 378.7 MB Notification: Performance of Templates: time 0.004227/0.5912, allocations: 1.785 MB / 0.5767 GB, free: 296 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches