Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 181.1 kB / 16.08 MB, free: 5.102 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.268/1.268, allocations: 205.6 MB / 222.4 MB, free: 8.957 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.000725/0.000725, allocations: 90.42 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.3055/0.3055, allocations: 43.66 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 15.94 kB / 432.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1113, allocations: 58.84 MB / 491.2 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001994/0.1133, allocations: 1.263 MB / 492.4 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000597/0.1139, allocations: 373 kB / 492.8 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.114, allocations: 0 / 492.8 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.1143, allocations: 67.78 kB / 492.9 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.1144, allocations: 59.81 kB / 492.9 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.1146, allocations: 55.92 kB / 493 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1148, allocations: 67.81 kB / 493 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1149, allocations: 15.98 kB / 493 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.199e-05/0.115, allocations: 23.86 kB / 493.1 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1151, allocations: 39.89 kB / 493.1 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1151, allocations: 8 kB / 493.1 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.1152, allocations: 23.98 kB / 493.1 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.1153, allocations: 19.92 kB / 493.2 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.1154, allocations: 49.45 kB / 493.2 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1155, allocations: 83.92 kB / 493.3 MB, free: 7.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.1156, allocations: 0 / 493.3 MB, free: 7.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1156, allocations: 0 / 493.3 MB, free: 7.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1156, allocations: 0 / 493.3 MB, free: 7.656 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.0005081/0.1161, allocations: 379.2 kB / 493.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1161, allocations: 16.03 kB / 493.7 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.1162, allocations: 8.844 kB / 493.7 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1164, allocations: 199.9 kB / 493.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.1164, allocations: 384 / 493.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1165, allocations: 8.375 kB / 493.9 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.1166, allocations: 57.75 kB / 493.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1166, allocations: 0 / 493.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1166, allocations: 0 / 493.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1166, allocations: 0 / 493.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/0.1167, allocations: 31.97 kB / 494 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1171, allocations: 284.8 kB / 494.3 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1173, allocations: 46.5 kB / 494.3 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.1174, allocations: 24.94 kB / 494.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1174, allocations: 0 / 494.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1174, allocations: 34.56 kB / 494.4 MB, free: 6.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1174, allocations: 0 / 494.4 MB, free: 6.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005354/0.118, allocations: 153.3 kB / 494.5 MB, free: 6.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.118, allocations: 55.41 kB / 494.6 MB, free: 6.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1182, allocations: 193 kB / 494.8 MB, free: 6.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1182, allocations: 25.7 kB / 494.8 MB, free: 5.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.1183, allocations: 112 kB / 494.9 MB, free: 5.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1183, allocations: 11.81 kB / 494.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.1183, allocations: 0 / 494.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1184, allocations: 326.8 kB / 495.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.1185, allocations: 23.98 kB / 495.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.1186, allocations: 19.98 kB / 495.3 MB, free: 5.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1187, allocations: 60.77 kB / 495.3 MB, free: 5.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1187, allocations: 0 / 495.3 MB, free: 5.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.1189, allocations: 89.52 kB / 495.4 MB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1189, allocations: 8 kB / 495.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.119, allocations: 0 / 495.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.119, allocations: 0 / 495.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.119, allocations: 15.98 kB / 495.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.119, allocations: 0 / 495.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.1191, allocations: 8 kB / 495.4 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1191, allocations: 4 kB / 495.4 MB, free: 5.289 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 9.916e-05/0.1192, allocations: 129.8 kB / 495.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1192, allocations: 11.84 kB / 495.6 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1195, allocations: 102.2 kB / 495.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1195, allocations: 0 / 495.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1195, allocations: 0 / 495.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1195, allocations: 4 kB / 495.7 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.1199, allocations: 358.5 kB / 496 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1199, allocations: 0 / 496 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.12, allocations: 11.94 kB / 496 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.12, allocations: 7.984 kB / 496.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.12, allocations: 4 kB / 496.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.12, allocations: 3.938 kB / 496.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.12, allocations: 0 / 496.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1203, allocations: 187.3 kB / 496.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1203, allocations: 93 kB / 496.3 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1204, allocations: 0 / 496.3 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.641e-05/0.1204, allocations: 7.938 kB / 496.3 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1205, allocations: 7.984 kB / 496.3 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1205, allocations: 0 / 496.3 MB, free: 4.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1206, allocations: 143.2 kB / 496.5 MB, free: 4.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1206, allocations: 4 kB / 496.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000213/0.1208, allocations: 15.98 kB / 496.5 MB, free: 4.113 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.0008922/0.1217, allocations: 483.6 kB / 497 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1219, allocations: 55.95 kB / 497 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1219, allocations: 0 / 497 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.122, allocations: 31.98 kB / 497.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.1223, allocations: 16 kB / 497.1 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.1227, allocations: 225 kB / 497.3 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.123, allocations: 0.7043 MB / 498 MB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.1231, allocations: 7.984 kB / 498 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.1231, allocations: 23.36 kB / 498 MB, free: 2.656 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1231, allocations: 0 / 498 MB, free: 2.656 MB / 378.7 MB Notification: Performance of Templates: time 0.003149/0.1263, allocations: 1.023 MB / 499.1 MB, free: 1.637 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches