Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 108.2 kB / 17.03 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2386/0.2386, allocations: 43.53 MB / 314.7 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002579/0.00258, allocations: 69.25 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1701, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003405/0.1735, allocations: 1.704 MB / 443.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1749, allocations: 0.8 MB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.175, allocations: 0 / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.1755, allocations: 39.77 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1758, allocations: 55.75 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.176, allocations: 83.72 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1762, allocations: 99.67 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1764, allocations: 20.22 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/0.1765, allocations: 39.78 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.1765, allocations: 31.84 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1766, allocations: 4 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.912e-05/0.1767, allocations: 43.98 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.1767, allocations: 15.92 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.1768, allocations: 35.73 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.177, allocations: 115.6 kB / 445 MB, free: 3.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.177, allocations: 4 kB / 445 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1771, allocations: 0 / 445 MB, free: 3.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1771, allocations: 0 / 445 MB, free: 3.035 MB / 318.1 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.0005981/0.1777, allocations: 414.9 kB / 445.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1777, allocations: 11.89 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.1778, allocations: 8.844 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.178, allocations: 205 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.178, allocations: 384 / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1781, allocations: 12.12 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1782, allocations: 53.61 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1783, allocations: 4 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1783, allocations: 4 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1783, allocations: 4 kB / 445.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.235e-05/0.1784, allocations: 19.92 kB / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.1787, allocations: 292.8 kB / 446.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1789, allocations: 58.56 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.1789, allocations: 28.84 kB / 446.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1789, allocations: 0 / 446.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1791, allocations: 63.39 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1791, allocations: 0 / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.1797, allocations: 173.1 kB / 446.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1797, allocations: 55.41 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1799, allocations: 194.1 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1799, allocations: 25.7 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.1799, allocations: 104.1 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.18, allocations: 19.72 kB / 446.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.18, allocations: 25.7 kB / 446.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.1801, allocations: 326.8 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.1801, allocations: 20 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.1802, allocations: 41.64 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.237e-05/0.1803, allocations: 58.08 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1803, allocations: 0 / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001439/0.1804, allocations: 101.5 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1804, allocations: 4 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1805, allocations: 8 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1805, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.1806, allocations: 15.98 kB / 447.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1806, allocations: 4.031 kB / 447.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.1806, allocations: 7.938 kB / 447.4 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1806, allocations: 4 kB / 447.4 MB, free: 492 kB / 318.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.75e-05/0.1807, allocations: 133.7 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.1807, allocations: 11.81 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.1808, allocations: 16.86 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1808, allocations: 4 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1808, allocations: 0 / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1808, allocations: 7.938 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.1812, allocations: 395.2 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1812, allocations: 4 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.1812, allocations: 4 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1813, allocations: 4.188 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1813, allocations: 11.86 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1813, allocations: 3.938 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1813, allocations: 4 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1815, allocations: 208.2 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.1816, allocations: 81.02 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1816, allocations: 7.938 kB / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.1817, allocations: 0 / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.1818, allocations: 11.98 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1818, allocations: 4 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1819, allocations: 143.2 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1819, allocations: 0 / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1822, allocations: 23.91 kB / 448.4 MB, free: 15.31 MB / 334.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.1833, allocations: 462.5 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1835, allocations: 67.84 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1836, allocations: 0 / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.1836, allocations: 31.92 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.184, allocations: 23.98 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.1844, allocations: 219.3 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1847, allocations: 0.7081 MB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.1848, allocations: 13.19 kB / 449.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.1848, allocations: 19.42 kB / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1849, allocations: 0 / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Templates: time 0.004576/0.1894, allocations: 1.697 MB / 451.6 MB, free: 12.13 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches