Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 173.9 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.316/1.316, allocations: 205.6 MB / 222.4 MB, free: 8.926 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.0007975/0.0007976, allocations: 94.41 kB / 270.8 MB, free: 8.113 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.3243/0.3243, allocations: 43.66 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 15.98 kB / 432.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 58.84 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002256/0.1119, allocations: 1.398 MB / 492.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1132, allocations: 0.8292 MB / 493.4 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1134, allocations: 0 / 493.4 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1138, allocations: 39.83 kB / 493.4 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.114, allocations: 39.83 kB / 493.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1143, allocations: 79.84 kB / 493.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1145, allocations: 87.7 kB / 493.6 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1146, allocations: 24.19 kB / 493.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.1147, allocations: 39.78 kB / 493.7 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.1148, allocations: 27.86 kB / 493.7 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1148, allocations: 0 / 493.7 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.115, allocations: 35.92 kB / 493.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.115, allocations: 19.91 kB / 493.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.1151, allocations: 53.52 kB / 493.8 MB, free: 7.094 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1153, allocations: 111.9 kB / 493.9 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1153, allocations: 4 kB / 493.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1153, allocations: 0 / 493.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1153, allocations: 0 / 493.9 MB, free: 6.98 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.0004796/0.1158, allocations: 391.1 kB / 494.3 MB, free: 6.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1159, allocations: 8.031 kB / 494.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1159, allocations: 12.75 kB / 494.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1161, allocations: 209.2 kB / 494.6 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1162, allocations: 4.375 kB / 494.6 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1162, allocations: 8.125 kB / 494.6 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1163, allocations: 57.67 kB / 494.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1164, allocations: 0 / 494.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1164, allocations: 0 / 494.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1164, allocations: 0 / 494.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.1165, allocations: 19.98 kB / 494.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.1168, allocations: 280.9 kB / 494.9 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.117, allocations: 58.62 kB / 495 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.1171, allocations: 24.84 kB / 495 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1171, allocations: 3.984 kB / 495 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1173, allocations: 67.39 kB / 495.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1173, allocations: 0 / 495.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005705/0.1179, allocations: 169.2 kB / 495.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.118, allocations: 55.41 kB / 495.3 MB, free: 5.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1181, allocations: 168.7 kB / 495.4 MB, free: 5.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1181, allocations: 25.7 kB / 495.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.1182, allocations: 104.1 kB / 495.6 MB, free: 5.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1182, allocations: 27.64 kB / 495.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1183, allocations: 0 / 495.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.1184, allocations: 334.7 kB / 495.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.1184, allocations: 20 kB / 495.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.1185, allocations: 37.64 kB / 496 MB, free: 4.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1186, allocations: 61.7 kB / 496 MB, free: 4.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1186, allocations: 0 / 496 MB, free: 4.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001678/0.1188, allocations: 97.52 kB / 496.1 MB, free: 4.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1188, allocations: 4 kB / 496.1 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1188, allocations: 4.016 kB / 496.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1188, allocations: 8.375 kB / 496.2 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.119, allocations: 16 kB / 496.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.119, allocations: 3.938 kB / 496.2 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.119, allocations: 11.94 kB / 496.2 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1191, allocations: 0 / 496.2 MB, free: 4.508 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 9.236e-05/0.1192, allocations: 121.8 kB / 496.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1192, allocations: 19.81 kB / 496.3 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.1192, allocations: 16.7 kB / 496.3 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1192, allocations: 4 kB / 496.3 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1193, allocations: 0 / 496.3 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1193, allocations: 3.938 kB / 496.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.1197, allocations: 383.3 kB / 496.7 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1197, allocations: 4 kB / 496.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1197, allocations: 8 kB / 496.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1197, allocations: 0 / 496.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1198, allocations: 7.938 kB / 496.7 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1198, allocations: 4.031 kB / 496.7 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.1198, allocations: 11.97 kB / 496.8 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.12, allocations: 192.2 kB / 496.9 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.1201, allocations: 89.02 kB / 497 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1201, allocations: 7.938 kB / 497 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.1202, allocations: 3.984 kB / 497 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1202, allocations: 8 kB / 497.1 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1202, allocations: 8 kB / 497.1 MB, free: 3.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.622e-05/0.1203, allocations: 133.7 kB / 497.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1203, allocations: 0 / 497.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.1206, allocations: 27.91 kB / 497.2 MB, free: 3.375 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.001024/0.1216, allocations: 0.5368 MB / 497.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1218, allocations: 63.84 kB / 497.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1218, allocations: 0 / 497.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.1219, allocations: 31.92 kB / 497.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1222, allocations: 19.98 kB / 497.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.1227, allocations: 234.2 kB / 498.1 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.123, allocations: 0.7043 MB / 498.8 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.1231, allocations: 21.11 kB / 498.8 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.1232, allocations: 19.44 kB / 498.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1232, allocations: 0 / 498.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of Templates: time 0.004717/0.1279, allocations: 1.623 MB / 0.4887 GB, free: 208 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches