Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 172 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.6 MB / 222.4 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007452/0.0007452, allocations: 78.83 kB / 270.8 MB, free: 8.137 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3314/0.3314, allocations: 43.67 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003277, allocations: 12 kB / 432.3 MB, free: 5.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 58.85 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002016/0.1103, allocations: 1.402 MB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1116, allocations: 0.8214 MB / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.1117, allocations: 0 / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1119, allocations: 43.83 kB / 493.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1122, allocations: 35.84 kB / 493.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1125, allocations: 83.83 kB / 493.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1127, allocations: 87.7 kB / 493.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.1128, allocations: 12.22 kB / 493.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.1129, allocations: 47.7 kB / 493.7 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.1129, allocations: 27.86 kB / 493.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.113, allocations: 4 kB / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.1131, allocations: 31.98 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.1131, allocations: 15.92 kB / 493.8 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.1132, allocations: 57.5 kB / 493.8 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1135, allocations: 111.8 kB / 493.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1135, allocations: 0 / 493.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1135, allocations: 0 / 493.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1135, allocations: 0 / 493.9 MB, free: 7.211 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005151/0.114, allocations: 395.1 kB / 494.3 MB, free: 6.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1141, allocations: 12.03 kB / 494.3 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1141, allocations: 12.75 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1144, allocations: 201.1 kB / 494.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1144, allocations: 4.375 kB / 494.6 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1144, allocations: 12.11 kB / 494.6 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1146, allocations: 57.61 kB / 494.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1146, allocations: 0 / 494.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1146, allocations: 0 / 494.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1146, allocations: 0 / 494.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.1147, allocations: 19.98 kB / 494.6 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.1151, allocations: 288.9 kB / 494.9 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1153, allocations: 54.62 kB / 495 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.1153, allocations: 24.84 kB / 495 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1154, allocations: 0 / 495 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.1156, allocations: 75.39 kB / 495.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1156, allocations: 0 / 495.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005127/0.1161, allocations: 165.2 kB / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1162, allocations: 55.41 kB / 495.3 MB, free: 5.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1163, allocations: 167.7 kB / 495.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1164, allocations: 25.7 kB / 495.5 MB, free: 5.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.1164, allocations: 104.1 kB / 495.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1165, allocations: 23.66 kB / 495.6 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.1165, allocations: 4 kB / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1166, allocations: 326.8 kB / 495.9 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.1167, allocations: 19.98 kB / 495.9 MB, free: 4.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.1167, allocations: 45.52 kB / 496 MB, free: 4.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1168, allocations: 61.7 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1169, allocations: 4 kB / 496.1 MB, free: 4.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001762/0.117, allocations: 97.52 kB / 496.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1171, allocations: 4 kB / 496.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1171, allocations: 0 / 496.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1171, allocations: 4 kB / 496.2 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.1172, allocations: 19.98 kB / 496.2 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1172, allocations: 0 / 496.2 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.1173, allocations: 7.938 kB / 496.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1173, allocations: 7.984 kB / 496.2 MB, free: 4.727 MB / 378.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 () * 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 0.0001061/0.1174, allocations: 125.8 kB / 496.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.1174, allocations: 19.81 kB / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.1175, allocations: 12.72 kB / 496.3 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1175, allocations: 0 / 496.3 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1175, allocations: 0 / 496.3 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1175, allocations: 7.922 kB / 496.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.1179, allocations: 391.3 kB / 496.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.118, allocations: 0 / 496.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.118, allocations: 8 kB / 496.7 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.118, allocations: 0 / 496.7 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.118, allocations: 7.938 kB / 496.8 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.118, allocations: 4 kB / 496.8 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.118, allocations: 0 / 496.8 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1183, allocations: 200.5 kB / 497 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1183, allocations: 93 kB / 497 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1184, allocations: 7.938 kB / 497 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.1184, allocations: 0 / 497 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1185, allocations: 7.984 kB / 497.1 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1185, allocations: 8 kB / 497.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1186, allocations: 129.9 kB / 497.2 MB, free: 3.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1186, allocations: 0 / 497.2 MB, free: 3.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.1189, allocations: 31.89 kB / 497.2 MB, free: 3.594 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) * 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.001101/0.12, allocations: 0.5321 MB / 497.8 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1202, allocations: 59.91 kB / 497.8 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1202, allocations: 4.25 kB / 497.8 MB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.1203, allocations: 24.23 kB / 497.8 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1206, allocations: 36.05 kB / 497.9 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.1212, allocations: 238.1 kB / 498.1 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1215, allocations: 0.7004 MB / 498.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.1216, allocations: 12.83 kB / 498.8 MB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.1216, allocations: 23.42 kB / 498.8 MB, free: 2.043 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1216, allocations: 0 / 498.8 MB, free: 2.043 MB / 378.7 MB Notification: Performance of Templates: time 0.004208/0.1258, allocations: 1.616 MB / 0.4887 GB, free: 436 kB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches