Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.258/1.258, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007258/0.0007258, allocations: 102.3 kB / 271.2 MB, free: 8.23 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.3242/0.3242, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003974, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002053/0.1241, allocations: 1.398 MB / 492.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1253, allocations: 0.7383 MB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.1254, allocations: 4 kB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1256, allocations: 27.89 kB / 493 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1258, allocations: 47.83 kB / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1261, allocations: 75.78 kB / 493.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1262, allocations: 83.7 kB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.1263, allocations: 12.2 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.1264, allocations: 39.78 kB / 493.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.1265, allocations: 31.86 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1265, allocations: 0 / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.1266, allocations: 31.98 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.1266, allocations: 27.84 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.1267, allocations: 53.52 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1269, allocations: 80.09 kB / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1269, allocations: 0 / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1269, allocations: 0 / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1269, allocations: 3.938 kB / 493.5 MB, free: 8.223 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005167/0.1274, allocations: 403.1 kB / 493.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1275, allocations: 8.031 kB / 493.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.1275, allocations: 12.75 kB / 493.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1277, allocations: 196.2 kB / 494.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1278, allocations: 4.375 kB / 494.1 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1278, allocations: 12.11 kB / 494.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1279, allocations: 61.61 kB / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.128, allocations: 0 / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.128, allocations: 0 / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.128, allocations: 4 kB / 494.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.1281, allocations: 23.92 kB / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.1284, allocations: 284.8 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1286, allocations: 54.69 kB / 494.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.1287, allocations: 20.84 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1287, allocations: 4 kB / 494.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1289, allocations: 67.33 kB / 494.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1289, allocations: 0 / 494.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005298/0.1294, allocations: 173.2 kB / 494.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1295, allocations: 51.41 kB / 494.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1297, allocations: 170.2 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1297, allocations: 29.7 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.1297, allocations: 100.1 kB / 495.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.1298, allocations: 23.66 kB / 495.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.1298, allocations: 0 / 495.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1299, allocations: 330.8 kB / 495.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.444e-05/0.13, allocations: 19.98 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.13, allocations: 33.7 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1302, allocations: 65.64 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1302, allocations: 0 / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001837/0.1304, allocations: 97.58 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1304, allocations: 4 kB / 495.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1304, allocations: 0 / 495.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1304, allocations: 0 / 495.7 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.1305, allocations: 27.92 kB / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1305, allocations: 0 / 495.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.1306, allocations: 8.156 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1306, allocations: 4 kB / 495.7 MB, free: 5.742 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.1307, allocations: 137.5 kB / 495.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.1308, allocations: 11.81 kB / 495.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.1308, allocations: 16.72 kB / 495.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1308, allocations: 3.984 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1308, allocations: 3.984 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1308, allocations: 7.875 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.1313, allocations: 383.3 kB / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1313, allocations: 0 / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.1313, allocations: 8.375 kB / 496.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1313, allocations: 4 kB / 496.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1314, allocations: 11.88 kB / 496.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1314, allocations: 4 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1314, allocations: 0 / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1316, allocations: 204.5 kB / 496.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1317, allocations: 93 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1317, allocations: 3.938 kB / 496.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.1318, allocations: 4 kB / 496.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1318, allocations: 7.984 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1318, allocations: 8 kB / 496.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.132, allocations: 135.9 kB / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.132, allocations: 0 / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000242/0.1322, allocations: 31.91 kB / 496.8 MB, free: 4.586 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009795/0.1332, allocations: 454.1 kB / 497.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1334, allocations: 59.97 kB / 497.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1334, allocations: 0 / 497.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.1335, allocations: 27.94 kB / 497.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1338, allocations: 31.03 kB / 497.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.1342, allocations: 255.9 kB / 497.6 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1345, allocations: 0.7043 MB / 498.3 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.1346, allocations: 15.44 kB / 498.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1346, allocations: 0 / 498.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of Templates: time 0.003397/0.138, allocations: 1.855 MB / 0.4884 GB, free: 1.184 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches