Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 111.5 kB / 17.04 MB, free: 6.074 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.001344/0.001344, allocations: 195 kB / 17.97 MB, free: 5.16 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.474/1.474, 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.2706/0.2706, allocations: 43.52 MB / 314.7 MB, free: 476 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.001689/0.001689, allocations: 67.55 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1345, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.004156/0.1387, allocations: 1.694 MB / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1404, allocations: 0.8039 MB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1406, allocations: 0 / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.1411, allocations: 39.83 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.1415, allocations: 55.7 kB / 444.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1418, allocations: 87.75 kB / 444.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.142, allocations: 91.7 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1421, allocations: 8.234 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.1422, allocations: 43.77 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.1423, allocations: 27.86 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1423, allocations: 8 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1425, allocations: 47.92 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.1425, allocations: 19.91 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.1426, allocations: 31.75 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1428, allocations: 107.7 kB / 445 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1429, allocations: 3.938 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1429, allocations: 0 / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1429, allocations: 4 kB / 445 MB, free: 3.062 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.0005789/0.1435, allocations: 403 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.1435, allocations: 19.89 kB / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.1436, allocations: 16.69 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.144, allocations: 206.1 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.144, allocations: 384 / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.1441, allocations: 8.125 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.1443, allocations: 57.67 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1443, allocations: 0 / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1443, allocations: 4 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1443, allocations: 0 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.818e-05/0.1445, allocations: 23.98 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.145, allocations: 288.8 kB / 446 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1453, allocations: 50.69 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.1454, allocations: 24.78 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.1454, allocations: 0 / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.1456, allocations: 71.33 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.1457, allocations: 4 kB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007004/0.1464, allocations: 169.2 kB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.1464, allocations: 59.34 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1466, allocations: 170.1 kB / 446.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1466, allocations: 29.7 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.1467, allocations: 104.1 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.1468, allocations: 27.64 kB / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.1468, allocations: 17.72 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1469, allocations: 326.8 kB / 447.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.147, allocations: 23.98 kB / 447.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.603e-05/0.1471, allocations: 33.7 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1472, allocations: 69.64 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1472, allocations: 0 / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.1474, allocations: 97.56 kB / 447.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1475, allocations: 4 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1475, allocations: 4 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.1475, allocations: 0 / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.1476, allocations: 19.92 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.1476, allocations: 0 / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.1477, allocations: 11.94 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1477, allocations: 8.031 kB / 447.3 MB, free: 0.5234 MB / 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 9.414e-05/0.1478, allocations: 125.4 kB / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1478, allocations: 15.8 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.1479, allocations: 12.72 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1479, allocations: 0 / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1479, allocations: 384 / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1479, allocations: 3.938 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1484, allocations: 395.3 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1484, allocations: 4 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.1484, allocations: 11.98 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1484, allocations: 0 / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1485, allocations: 3.938 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1485, allocations: 7.938 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1485, allocations: 192 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1487, allocations: 200.3 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.1488, allocations: 88.89 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1489, allocations: 11.94 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.149, allocations: 3.984 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.1491, allocations: 4 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1491, allocations: 4 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1492, allocations: 135.2 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1492, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1495, allocations: 20 kB / 448.4 MB, free: 15.39 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.001191/0.1507, allocations: 471.1 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.151, allocations: 55.97 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.151, allocations: 8.062 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-05/0.1511, allocations: 27.92 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1515, allocations: 23.98 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.1521, allocations: 214.9 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.1526, allocations: 0.7041 MB / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.65e-05/0.1527, allocations: 17.19 kB / 449.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.1528, allocations: 15.44 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of SimCode: time 1.854e-06/0.1528, allocations: 0 / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of Templates: time 0.005558/0.1583, allocations: 1.695 MB / 451.6 MB, free: 12.21 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches