Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 174 kB / 16.08 MB, free: 5.73 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.331/1.331, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0007959/0.0007958, allocations: 90.73 kB / 270.8 MB, free: 8.125 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.3158/0.3158, allocations: 43.67 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.000327, allocations: 12 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 58.83 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001823/0.1129, allocations: 1.267 MB / 492.4 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006118/0.1136, allocations: 380.8 kB / 492.8 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.1136, allocations: 0 / 492.8 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.1139, allocations: 19.92 kB / 492.8 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.114, allocations: 31.92 kB / 492.8 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1142, allocations: 63.84 kB / 492.9 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.1144, allocations: 55.84 kB / 493 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.1145, allocations: 11.97 kB / 493 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.1145, allocations: 19.88 kB / 493 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.1146, allocations: 11.92 kB / 493 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1146, allocations: 4 kB / 493 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.435e-05/0.1147, allocations: 31.98 kB / 493 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.1147, allocations: 11.92 kB / 493 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.1148, allocations: 45.52 kB / 493.1 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.115, allocations: 83.94 kB / 493.2 MB, free: 7.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.115, allocations: 0 / 493.2 MB, free: 7.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.115, allocations: 0 / 493.2 MB, free: 7.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.115, allocations: 0 / 493.2 MB, free: 7.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004213/0.1154, allocations: 371.2 kB / 493.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1155, allocations: 8.031 kB / 493.5 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1155, allocations: 16.83 kB / 493.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.1157, allocations: 180.3 kB / 493.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1157, allocations: 384 / 493.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1157, allocations: 4.375 kB / 493.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1159, allocations: 53.81 kB / 493.8 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1159, allocations: 3.984 kB / 493.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1159, allocations: 3.938 kB / 493.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1159, allocations: 3.984 kB / 493.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.116, allocations: 27.98 kB / 493.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.1164, allocations: 272.9 kB / 494.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1166, allocations: 42.56 kB / 494.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.1166, allocations: 24.8 kB / 494.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1167, allocations: 3.938 kB / 494.2 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1167, allocations: 38.59 kB / 494.2 MB, free: 6.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1167, allocations: 0 / 494.2 MB, free: 6.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005289/0.1173, allocations: 161.2 kB / 494.4 MB, free: 6.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1173, allocations: 55.41 kB / 494.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1174, allocations: 149.8 kB / 494.6 MB, free: 6.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1175, allocations: 25.7 kB / 494.6 MB, free: 6.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.1175, allocations: 100 kB / 494.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.1175, allocations: 15.75 kB / 494.7 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1175, allocations: 4 kB / 494.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1177, allocations: 322.8 kB / 495 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.1177, allocations: 23.98 kB / 495 MB, free: 5.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.1178, allocations: 19.98 kB / 495.1 MB, free: 5.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1179, allocations: 56.83 kB / 495.1 MB, free: 5.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1179, allocations: 0 / 495.1 MB, free: 5.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001677/0.1181, allocations: 89.52 kB / 495.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1181, allocations: 8 kB / 495.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1181, allocations: 0 / 495.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1182, allocations: 4 kB / 495.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.1182, allocations: 15.98 kB / 495.2 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1182, allocations: 256 / 495.2 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.1183, allocations: 4 kB / 495.2 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1183, allocations: 7.938 kB / 495.2 MB, free: 5.461 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.02e-05/0.1184, allocations: 125.8 kB / 495.4 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1184, allocations: 7.906 kB / 495.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.1187, allocations: 97.91 kB / 495.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1187, allocations: 0 / 495.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1187, allocations: 0 / 495.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1187, allocations: 4 kB / 495.5 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.1191, allocations: 350.5 kB / 495.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1191, allocations: 0 / 495.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.1192, allocations: 19.92 kB / 495.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1192, allocations: 0 / 495.8 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1192, allocations: 8 kB / 495.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1192, allocations: 3.938 kB / 495.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1192, allocations: 3.938 kB / 495.9 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1194, allocations: 175.4 kB / 496 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.1195, allocations: 97 kB / 496.1 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1195, allocations: 0 / 496.1 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.1196, allocations: 11.94 kB / 496.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1196, allocations: 3.984 kB / 496.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1196, allocations: 0 / 496.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.1197, allocations: 123.9 kB / 496.3 MB, free: 4.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1197, allocations: 3.938 kB / 496.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.1199, allocations: 8 kB / 496.3 MB, free: 4.332 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008619/0.1208, allocations: 481.9 kB / 496.7 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.121, allocations: 47.97 kB / 496.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.121, allocations: 0 / 496.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.1211, allocations: 31.98 kB / 496.8 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1214, allocations: 19.64 kB / 496.8 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.1218, allocations: 196.5 kB / 497 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.122, allocations: 0.7004 MB / 497.7 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.265e-05/0.122, allocations: 15.83 kB / 497.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.1221, allocations: 11.44 kB / 497.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1221, allocations: 0 / 497.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of Templates: time 0.003112/0.1252, allocations: 1.016 MB / 498.8 MB, free: 1.902 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches