Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 178.7 kB / 16.08 MB, free: 5.523 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.472/1.472, allocations: 205.6 MB / 222.4 MB, free: 13.68 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.0007523/0.0007523, allocations: 90.25 kB / 270.8 MB, free: 13.2 MB / 234.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.203/0.203, allocations: 43.69 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1143, allocations: 58.85 MB / 491.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002594/0.117, allocations: 1.394 MB / 492.6 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1187, allocations: 0.837 MB / 493.4 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.1188, allocations: 4 kB / 493.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.1191, allocations: 27.91 kB / 493.4 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1193, allocations: 39.84 kB / 493.5 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.1197, allocations: 83.83 kB / 493.6 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1199, allocations: 91.64 kB / 493.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.12, allocations: 16.22 kB / 493.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1201, allocations: 39.78 kB / 493.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.1202, allocations: 27.86 kB / 493.7 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1202, allocations: 0 / 493.7 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1203, allocations: 39.97 kB / 493.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1204, allocations: 15.92 kB / 493.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.1205, allocations: 61.39 kB / 493.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1207, allocations: 111.9 kB / 494 MB, free: 5.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1208, allocations: 4 kB / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1208, allocations: 0 / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1208, allocations: 0 / 494 MB, free: 5.301 MB / 330.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.0005545/0.1213, allocations: 391.2 kB / 494.3 MB, free: 4.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1214, allocations: 8.031 kB / 494.3 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1214, allocations: 8.844 kB / 494.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1217, allocations: 212.1 kB / 494.6 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1217, allocations: 4.375 kB / 494.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1218, allocations: 8.125 kB / 494.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.122, allocations: 57.61 kB / 494.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.122, allocations: 3.938 kB / 494.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.122, allocations: 3.984 kB / 494.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.122, allocations: 0 / 494.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/0.1221, allocations: 19.98 kB / 494.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1225, allocations: 284.8 kB / 494.9 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1228, allocations: 66.61 kB / 495 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.1228, allocations: 16.86 kB / 495 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1229, allocations: 0 / 495 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1231, allocations: 67.39 kB / 495.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.1231, allocations: 4 kB / 495.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006445/0.1237, allocations: 169.2 kB / 495.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1238, allocations: 51.41 kB / 495.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.124, allocations: 189.5 kB / 495.5 MB, free: 3.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1241, allocations: 25.7 kB / 495.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.1242, allocations: 112.1 kB / 495.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1242, allocations: 23.7 kB / 495.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.1242, allocations: 0 / 495.6 MB, free: 3.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1243, allocations: 326.8 kB / 496 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.1244, allocations: 27.92 kB / 496 MB, free: 3.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1246, allocations: 41.64 kB / 496 MB, free: 3.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1247, allocations: 53.7 kB / 496.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1248, allocations: 0 / 496.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002556/0.125, allocations: 97.53 kB / 496.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1251, allocations: 8.031 kB / 496.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1251, allocations: 4 kB / 496.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1251, allocations: 0 / 496.2 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1252, allocations: 15.98 kB / 496.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1252, allocations: 0 / 496.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.1253, allocations: 7.938 kB / 496.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1253, allocations: 4 kB / 496.2 MB, free: 2.809 MB / 330.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.0001203/0.1255, allocations: 129.8 kB / 496.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.1255, allocations: 11.81 kB / 496.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.1256, allocations: 16.72 kB / 496.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1256, allocations: 4 kB / 496.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1256, allocations: 384 / 496.4 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1256, allocations: 7.922 kB / 496.4 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.1262, allocations: 395.3 kB / 496.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1262, allocations: 4 kB / 496.8 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.1263, allocations: 4 kB / 496.8 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1263, allocations: 8.031 kB / 496.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1263, allocations: 3.938 kB / 496.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1263, allocations: 0 / 496.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1263, allocations: 4 kB / 496.8 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1267, allocations: 200.2 kB / 497 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.1267, allocations: 88.92 kB / 497.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1268, allocations: 11.94 kB / 497.1 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.1269, allocations: 7.984 kB / 497.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.127, allocations: 7.984 kB / 497.1 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.127, allocations: 4 kB / 497.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1272, allocations: 145.6 kB / 497.3 MB, free: 1.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1272, allocations: 0 / 497.3 MB, free: 1.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004193/0.1276, allocations: 16 kB / 497.3 MB, free: 1.648 MB / 330.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.001589/0.1292, allocations: 0.5363 MB / 497.8 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1295, allocations: 59.89 kB / 497.9 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1295, allocations: 3.938 kB / 497.9 MB, free: 1.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1296, allocations: 31.92 kB / 497.9 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.1301, allocations: 32.11 kB / 497.9 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.1308, allocations: 234.4 kB / 498.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1312, allocations: 0.7043 MB / 498.9 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.871e-05/0.1313, allocations: 21.16 kB / 498.9 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.1313, allocations: 15.44 kB / 498.9 MB, free: 108 kB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1314, allocations: 0 / 498.9 MB, free: 108 kB / 330.7 MB Notification: Performance of Templates: time 0.006205/0.1376, allocations: 1.619 MB / 0.4888 GB, free: 14.49 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches