Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001394, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 107.9 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3187/0.3187, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009942/0.0009943, allocations: 52.16 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1023, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.004052/0.1064, allocations: 1.675 MB / 488.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.1074, allocations: 355.5 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.1075, allocations: 4 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008004/0.1083, allocations: 439.2 kB / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.1088, allocations: 251.5 kB / 489.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.1093, allocations: 139.8 kB / 489.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.1097, allocations: 167.6 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1098, allocations: 24.12 kB / 490 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.11, allocations: 111.8 kB / 490.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.1103, allocations: 203.6 kB / 490.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1103, allocations: 0 / 490.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1105, allocations: 31.98 kB / 490.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1106, allocations: 91.62 kB / 490.5 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1107, allocations: 103 kB / 490.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1111, allocations: 247 kB / 490.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1111, allocations: 0 / 490.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1111, allocations: 0 / 490.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1111, allocations: 0 / 490.8 MB, free: 8.723 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009718/0.1121, allocations: 0.6414 MB / 491.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1122, allocations: 8.031 kB / 491.5 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.1123, allocations: 44.38 kB / 491.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1126, allocations: 300.1 kB / 491.8 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1127, allocations: 8.312 kB / 491.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1127, allocations: 384 / 491.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.1129, allocations: 65.8 kB / 491.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.113, allocations: 0 / 491.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.113, allocations: 0 / 491.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.113, allocations: 3.938 kB / 491.9 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.1132, allocations: 43.95 kB / 491.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.114, allocations: 404.7 kB / 492.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1141, allocations: 42.5 kB / 492.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.1142, allocations: 24.94 kB / 492.4 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.1143, allocations: 7.984 kB / 492.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1143, allocations: 38.56 kB / 492.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.1143, allocations: 0 / 492.4 MB, free: 6.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001069/0.1154, allocations: 299.8 kB / 492.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1155, allocations: 55.41 kB / 492.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.1166, allocations: 0.8496 MB / 493.6 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1166, allocations: 29.7 kB / 493.6 MB, free: 5.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.1169, allocations: 216 kB / 493.9 MB, free: 5.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.1169, allocations: 23.66 kB / 493.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.117, allocations: 17.72 kB / 493.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1172, allocations: 362.7 kB / 494.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.1174, allocations: 43.97 kB / 494.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.1175, allocations: 35.97 kB / 494.3 MB, free: 4.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.1179, allocations: 93.03 kB / 494.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1179, allocations: 7.938 kB / 494.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004621/0.1184, allocations: 165 kB / 494.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1184, allocations: 4 kB / 494.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1184, allocations: 0 / 494.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1184, allocations: 0 / 494.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.1186, allocations: 20.27 kB / 494.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1186, allocations: 0 / 494.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1187, allocations: 15.92 kB / 494.6 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1188, allocations: 4 kB / 494.6 MB, free: 4.668 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 (7): * Single equations (assignments): 7 * 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.0002671/0.119, allocations: 221.7 kB / 494.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.1191, allocations: 39.53 kB / 494.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.1197, allocations: 177.4 kB / 495.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1197, allocations: 4 kB / 495.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1197, allocations: 0 / 495.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1197, allocations: 7.938 kB / 495.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.1207, allocations: 0.5061 MB / 495.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1207, allocations: 0 / 495.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.1208, allocations: 19.98 kB / 495.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1208, allocations: 0 / 495.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1208, allocations: 3.938 kB / 495.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1209, allocations: 4 kB / 495.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.1209, allocations: 4 kB / 495.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.122, allocations: 0.9299 MB / 496.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.1221, allocations: 112.6 kB / 496.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1221, allocations: 4 kB / 496.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1223, allocations: 11.98 kB / 496.7 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1223, allocations: 7.984 kB / 496.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1223, allocations: 0 / 496.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008069/0.1232, allocations: 0.6472 MB / 497.3 MB, free: 1.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1232, allocations: 3.938 kB / 497.3 MB, free: 1.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005605/0.1237, allocations: 27.98 kB / 497.3 MB, free: 1.797 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 (7): * Single equations (assignments): 7 * 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.001121/0.1249, allocations: 402 kB / 497.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.1253, allocations: 87.92 kB / 497.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1253, allocations: 0 / 497.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.1255, allocations: 47.91 kB / 497.9 MB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.126, allocations: 38.44 kB / 497.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.1276, allocations: 1.023 MB / 498.9 MB, free: 220 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.1281, allocations: 0.8262 MB / 499.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1283, allocations: 27.95 kB / 499.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.1283, allocations: 11.44 kB / 499.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1283, allocations: 0 / 499.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of Templates: time 0.005144/0.1335, allocations: 1.518 MB / 0.4896 GB, free: 13.81 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches