Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009304/0.0009301, allocations: 90.62 kB / 261.7 MB, free: 1.617 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.2089/0.2089, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.384e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.517, allocations: 86.95 MB / 0.5509 GB, free: 7.969 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.5172, allocations: 74.12 kB / 0.5509 GB, free: 7.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01294/0.5302, allocations: 5.774 MB / 0.5566 GB, free: 3.355 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5302, allocations: 0 / 0.5566 GB, free: 3.355 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.5302, allocations: 4 kB / 0.5566 GB, free: 3.352 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003578/0.5306, allocations: 400.8 kB / 0.5569 GB, free: 2.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5306, allocations: 8.031 kB / 0.557 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.5307, allocations: 19.8 kB / 0.557 GB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.5309, allocations: 219.8 kB / 0.5572 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.531, allocations: 4 kB / 0.5572 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.531, allocations: 3.438 kB / 0.5572 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/0.5311, allocations: 44.97 kB / 0.5572 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.5312, allocations: 67.34 kB / 0.5573 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5312, allocations: 0 / 0.5573 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.5312, allocations: 0 / 0.5573 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5312, allocations: 4 kB / 0.5573 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.5316, allocations: 295.2 kB / 0.5576 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.5317, allocations: 84.69 kB / 0.5577 GB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.5318, allocations: 31.67 kB / 0.5577 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.5318, allocations: 3.812 kB / 0.5577 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.5319, allocations: 77.62 kB / 0.5578 GB, free: 2.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5319, allocations: 3.938 kB / 0.5578 GB, free: 2.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004444/0.5324, allocations: 191.6 kB / 0.558 GB, free: 1.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.5324, allocations: 55.41 kB / 0.558 GB, free: 1.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5325, allocations: 172.1 kB / 0.5582 GB, free: 1.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.5326, allocations: 29.7 kB / 0.5582 GB, free: 1.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.5326, allocations: 105.8 kB / 0.5583 GB, free: 1.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.5327, allocations: 35.17 kB / 0.5583 GB, free: 1.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.5327, allocations: 3.938 kB / 0.5583 GB, free: 1.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.5327, allocations: 325.5 kB / 0.5587 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.5328, allocations: 26.61 kB / 0.5587 GB, free: 1.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.5328, allocations: 44.47 kB / 0.5587 GB, free: 1.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.5329, allocations: 34.42 kB / 0.5588 GB, free: 1.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5329, allocations: 0 / 0.5588 GB, free: 1.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001457/0.533, allocations: 126.7 kB / 0.5589 GB, free: 1.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5331, allocations: 4 kB / 0.5589 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5331, allocations: 4.234 kB / 0.5589 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5331, allocations: 0 / 0.5589 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.5332, allocations: 16 kB / 0.5589 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.5332, allocations: 3.984 kB / 0.5589 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.5333, allocations: 11.92 kB / 0.5589 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.5333, allocations: 7.953 kB / 0.5589 GB, free: 0.957 MB / 362.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 (12): * Single equations (assignments): 12 * 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 6.024e-05/0.5333, allocations: 110.2 kB / 0.559 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.5334, allocations: 11.91 kB / 0.559 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.5336, allocations: 146.4 kB / 0.5592 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5336, allocations: 11.97 kB / 0.5592 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5336, allocations: 0 / 0.5592 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5336, allocations: 192 / 0.5592 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.534, allocations: 438.1 kB / 0.5596 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.534, allocations: 3.938 kB / 0.5596 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.534, allocations: 23.92 kB / 0.5596 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.534, allocations: 0 / 0.5596 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.5341, allocations: 0 / 0.5596 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5341, allocations: 4 kB / 0.5596 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5341, allocations: 0 / 0.5596 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.5343, allocations: 249.7 kB / 0.5599 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.5343, allocations: 93 kB / 0.56 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.5344, allocations: 3.062 kB / 0.56 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.5345, allocations: 4 kB / 0.56 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.5345, allocations: 11.94 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.5345, allocations: 4 kB / 0.56 GB, free: 15.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.5346, allocations: 143.9 kB / 0.5601 GB, free: 15.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5347, allocations: 0 / 0.5601 GB, free: 15.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.5349, allocations: 39.94 kB / 0.5602 GB, free: 15.72 MB / 378.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 (13): * Single equations (assignments): 11 * 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.0008408/0.5358, allocations: 404.8 kB / 0.5605 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.5359, allocations: 79.05 kB / 0.5606 GB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5359, allocations: 3.062 kB / 0.5606 GB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.536, allocations: 41.5 kB / 0.5607 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5363, allocations: 26.34 kB / 0.5607 GB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.5366, allocations: 186.3 kB / 0.5609 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.537, allocations: 0.708 MB / 0.5616 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.009e-05/0.537, allocations: 28.73 kB / 0.5616 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.5371, allocations: 23.42 kB / 0.5616 GB, free: 14.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5371, allocations: 0 / 0.5616 GB, free: 14.31 MB / 378.7 MB Notification: Performance of Templates: time 0.004209/0.5413, allocations: 1.832 MB / 0.5634 GB, free: 12.5 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches