Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001396, allocations: 111.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.5 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2068/0.2068, allocations: 44.17 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 71.95 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1156, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003366/0.1191, allocations: 1.637 MB / 470.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008388/0.1199, allocations: 431.1 kB / 471.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.12, allocations: 4 kB / 471.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1203, allocations: 111.8 kB / 471.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1206, allocations: 83.83 kB / 471.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.1209, allocations: 91.33 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.1211, allocations: 87.8 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.1212, allocations: 16.17 kB / 471.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.1213, allocations: 47.83 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1214, allocations: 83.78 kB / 471.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1214, allocations: 0 / 471.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1215, allocations: 39.98 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.1216, allocations: 23.92 kB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.1216, allocations: 35.67 kB / 471.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1218, allocations: 88.11 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1218, allocations: 0 / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1218, allocations: 0 / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1218, allocations: 4 kB / 471.9 MB, free: 12.03 MB / 350.1 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.000495/0.1223, allocations: 430.8 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1223, allocations: 8.031 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.1224, allocations: 8.844 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1226, allocations: 211.9 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-06/0.1226, allocations: 384 / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.1226, allocations: 12.36 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1228, allocations: 53.61 kB / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1228, allocations: 7.938 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.1228, allocations: 0 / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1228, allocations: 4 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.708e-05/0.1229, allocations: 31.97 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.1234, allocations: 308.7 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1235, allocations: 50.48 kB / 473 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.1235, allocations: 16.86 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1236, allocations: 8.078 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1236, allocations: 30.56 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1236, allocations: 0 / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008979/0.1245, allocations: 233 kB / 473.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.1246, allocations: 51.41 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1248, allocations: 274.2 kB / 473.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1248, allocations: 29.7 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.1249, allocations: 112 kB / 473.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1249, allocations: 27.64 kB / 473.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.125, allocations: 21.72 kB / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1251, allocations: 338.8 kB / 474.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.1252, allocations: 27.98 kB / 474.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.1253, allocations: 27.97 kB / 474.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1255, allocations: 81.05 kB / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1255, allocations: 0 / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002393/0.1258, allocations: 117.5 kB / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1258, allocations: 4 kB / 474.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1258, allocations: 7.938 kB / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.1258, allocations: 0 / 474.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.1259, allocations: 15.98 kB / 474.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1259, allocations: 3.938 kB / 474.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.126, allocations: 7.984 kB / 474.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.126, allocations: 4 kB / 474.4 MB, free: 9.289 MB / 350.1 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 (8): * Single equations (assignments): 8 * 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.0001098/0.1261, allocations: 142.3 kB / 474.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.1261, allocations: 11.81 kB / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.1264, allocations: 139 kB / 474.7 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1264, allocations: 0 / 474.7 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1265, allocations: 3.938 kB / 474.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1265, allocations: 0 / 474.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.127, allocations: 427.3 kB / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.127, allocations: 432 / 475.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.1271, allocations: 27.86 kB / 475.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1271, allocations: 0 / 475.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1271, allocations: 0 / 475.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1272, allocations: 0 / 475.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1272, allocations: 4 kB / 475.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1275, allocations: 216.2 kB / 475.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.1275, allocations: 100.8 kB / 475.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1275, allocations: 0 / 475.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.1276, allocations: 4 kB / 475.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1277, allocations: 11.98 kB / 475.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1277, allocations: 3.938 kB / 475.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1279, allocations: 207.2 kB / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1279, allocations: 0 / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1281, allocations: 16 kB / 475.7 MB, free: 7.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009961/0.1291, allocations: 466.1 kB / 476.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1294, allocations: 79.92 kB / 476.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1294, allocations: 0 / 476.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1295, allocations: 39.92 kB / 476.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1299, allocations: 21.75 kB / 476.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.1304, allocations: 362.9 kB / 476.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1308, allocations: 0.7238 MB / 477.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.1308, allocations: 19.42 kB / 477.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1308, allocations: 3.938 kB / 477.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of Templates: time 0.00352/0.1344, allocations: 1.887 MB / 479.3 MB, free: 4.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches