Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") 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.3 kB / 16.07 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.393/1.393, allocations: 205.6 MB / 222.4 MB, free: 8.941 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.0007571/0.0007571, allocations: 94.78 kB / 270.8 MB, free: 8.129 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.344/0.344, allocations: 43.66 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 16 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 58.84 MB / 491.2 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002221/0.125, allocations: 1.526 MB / 492.7 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1264, allocations: 0.9227 MB / 493.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.1265, allocations: 0 / 493.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.1268, allocations: 151.6 kB / 493.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1271, allocations: 115.7 kB / 493.9 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.1275, allocations: 139.7 kB / 494 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1277, allocations: 203.4 kB / 494.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1278, allocations: 33.53 kB / 494.2 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.128, allocations: 95.59 kB / 494.3 MB, free: 6.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1281, allocations: 115.6 kB / 494.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1282, allocations: 4 kB / 494.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.1283, allocations: 39.92 kB / 494.5 MB, free: 6.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.1283, allocations: 47.83 kB / 494.5 MB, free: 6.391 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.1284, allocations: 85.2 kB / 494.6 MB, free: 6.301 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1287, allocations: 199.5 kB / 494.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1287, allocations: 4 kB / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1287, allocations: 0 / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1287, allocations: 0 / 494.8 MB, free: 6.102 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006466/0.1294, allocations: 490.3 kB / 495.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1294, allocations: 12.03 kB / 495.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.1295, allocations: 24.56 kB / 495.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1297, allocations: 259.6 kB / 495.6 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1298, allocations: 12.38 kB / 495.6 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1298, allocations: 12.11 kB / 495.6 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.13, allocations: 99.3 kB / 495.7 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.13, allocations: 0 / 495.7 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.13, allocations: 4 kB / 495.7 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.13, allocations: 0 / 495.7 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1302, allocations: 43.97 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.1306, allocations: 436.9 kB / 496.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1309, allocations: 113.3 kB / 496.3 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.131, allocations: 49.69 kB / 496.3 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1311, allocations: 7.922 kB / 496.4 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.1313, allocations: 113 kB / 496.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1313, allocations: 0 / 496.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008012/0.1321, allocations: 348.1 kB / 496.8 MB, free: 3.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.1322, allocations: 89.05 kB / 496.9 MB, free: 3.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.1325, allocations: 350.9 kB / 497.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1325, allocations: 29.7 kB / 497.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.1326, allocations: 140.4 kB / 497.4 MB, free: 3.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.1327, allocations: 51.34 kB / 497.5 MB, free: 3.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.1327, allocations: 4 kB / 497.5 MB, free: 3.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1328, allocations: 342.8 kB / 497.8 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.1329, allocations: 35.98 kB / 497.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.133, allocations: 79.02 kB / 497.9 MB, free: 2.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.1332, allocations: 115.3 kB / 498 MB, free: 2.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1333, allocations: 4 kB / 498 MB, free: 2.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002892/0.1335, allocations: 181.2 kB / 498.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1336, allocations: 4 kB / 498.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1336, allocations: 0 / 498.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1336, allocations: 7.984 kB / 498.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1337, allocations: 31.92 kB / 498.2 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1338, allocations: 7.938 kB / 498.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-05/0.1338, allocations: 8 kB / 498.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1339, allocations: 8.375 kB / 498.3 MB, free: 2.395 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001234/0.134, allocations: 149.8 kB / 498.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.134, allocations: 23.72 kB / 498.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.1341, allocations: 41.66 kB / 498.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1341, allocations: 4 kB / 498.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1341, allocations: 4.688 kB / 498.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1341, allocations: 0 / 498.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.1348, allocations: 0.6202 MB / 499.1 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1348, allocations: 0 / 499.1 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.1349, allocations: 23.92 kB / 499.1 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1349, allocations: 4 kB / 499.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1349, allocations: 4 kB / 499.1 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1349, allocations: 3.984 kB / 499.1 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1349, allocations: 4 kB / 499.1 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.1353, allocations: 356.2 kB / 499.5 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.1354, allocations: 104.8 kB / 499.6 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1354, allocations: 11.98 kB / 499.6 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1356, allocations: 4 kB / 499.6 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.1356, allocations: 19.98 kB / 499.6 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1356, allocations: 4 kB / 499.6 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.1359, allocations: 261.9 kB / 499.9 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1359, allocations: 0 / 499.9 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.1362, allocations: 43.98 kB / 499.9 MB, free: 0.6094 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001002/0.1372, allocations: 0.5419 MB / 0.4887 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.1375, allocations: 107.9 kB / 0.4888 GB, free: 96 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1375, allocations: 3.938 kB / 0.4888 GB, free: 92 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1376, allocations: 59.91 kB / 0.4889 GB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1642/0.3018, allocations: 51.83 kB / 0.489 GB, free: 43.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.3026, allocations: 487.3 kB / 0.4894 GB, free: 43.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.3027, allocations: 0.7502 MB / 0.4901 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.3029, allocations: 30.64 kB / 0.4902 GB, free: 42.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.3029, allocations: 28.39 kB / 0.4902 GB, free: 42.31 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3029, allocations: 0 / 0.4902 GB, free: 42.31 MB / 378.7 MB Notification: Performance of Templates: time 0.00582/0.3087, allocations: 2.538 MB / 0.4927 GB, free: 42.2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches