Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001177/0.001177, allocations: 106.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2958/0.2958, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004552, allocations: 15.98 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1238, allocations: 58.86 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002535/0.1264, allocations: 1.383 MB / 491.6 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1291, allocations: 1.309 MB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.1292, allocations: 3.938 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1295, allocations: 27.89 kB / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1297, allocations: 51.81 kB / 493 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1301, allocations: 71.8 kB / 493.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1303, allocations: 63.84 kB / 493.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1304, allocations: 12.22 kB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1305, allocations: 35.84 kB / 493.2 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1307, allocations: 31.84 kB / 493.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1307, allocations: 4 kB / 493.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1309, allocations: 39.92 kB / 493.3 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.1309, allocations: 15.92 kB / 493.3 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.131, allocations: 29.7 kB / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1312, allocations: 96.08 kB / 493.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1312, allocations: 0 / 493.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1313, allocations: 0 / 493.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1313, allocations: 4 kB / 493.4 MB, free: 6.152 MB / 330.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.0006203/0.1319, allocations: 391 kB / 493.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.132, allocations: 12.02 kB / 493.8 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.132, allocations: 11.86 kB / 493.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1323, allocations: 206.9 kB / 494 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1324, allocations: 0 / 494 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1324, allocations: 4 kB / 494 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.1326, allocations: 67.39 kB / 494.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1326, allocations: 3.984 kB / 494.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.1327, allocations: 11.94 kB / 494.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1327, allocations: 3.953 kB / 494.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1328, allocations: 15.98 kB / 494.1 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1332, allocations: 277 kB / 494.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1335, allocations: 58.62 kB / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1335, allocations: 0 / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.1338, allocations: 75.38 kB / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1338, allocations: 0 / 494.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007417/0.1345, allocations: 169.2 kB / 494.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1346, allocations: 81.11 kB / 494.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1348, allocations: 149.8 kB / 494.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.1348, allocations: 25.7 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.1349, allocations: 162.6 kB / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.135, allocations: 27.69 kB / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.135, allocations: 0 / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1352, allocations: 314.8 kB / 495.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.1353, allocations: 23.92 kB / 495.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1354, allocations: 42.56 kB / 495.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1355, allocations: 27.94 kB / 495.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1355, allocations: 4 kB / 495.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002694/0.1358, allocations: 85.64 kB / 495.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1358, allocations: 6.656 kB / 495.6 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1358, allocations: 8.312 kB / 495.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1359, allocations: 3.984 kB / 495.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.136, allocations: 16 kB / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.136, allocations: 4 kB / 495.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.1361, allocations: 12 kB / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1362, allocations: 4 kB / 495.7 MB, free: 3.66 MB / 330.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.000125/0.1363, allocations: 121.8 kB / 495.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.1363, allocations: 19.77 kB / 495.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.1364, allocations: 8.719 kB / 495.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1364, allocations: 4 kB / 495.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1364, allocations: 0 / 495.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1365, allocations: 7.984 kB / 495.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.1371, allocations: 391.3 kB / 496.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1371, allocations: 0 / 496.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.1372, allocations: 8 kB / 496.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1372, allocations: 0 / 496.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1372, allocations: 3.984 kB / 496.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.1372, allocations: 7.938 kB / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1372, allocations: 0 / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1376, allocations: 222.2 kB / 496.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.1376, allocations: 85.02 kB / 496.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.1377, allocations: 7.984 kB / 496.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1378, allocations: 4 kB / 496.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1379, allocations: 4 kB / 496.5 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1379, allocations: 11.98 kB / 496.5 MB, free: 2.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.138, allocations: 114.7 kB / 496.6 MB, free: 2.543 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1381, allocations: 0 / 496.6 MB, free: 2.543 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004066/0.1385, allocations: 39.94 kB / 496.7 MB, free: 2.504 MB / 330.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.001457/0.1399, allocations: 0.4951 MB / 497.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.1402, allocations: 55.97 kB / 497.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1402, allocations: 0 / 497.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1404, allocations: 35.92 kB / 497.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1407, allocations: 24.11 kB / 497.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.1413, allocations: 227.7 kB / 497.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1416, allocations: 0.7043 MB / 498.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.1417, allocations: 23.38 kB / 498.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1417, allocations: 0 / 498.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of Templates: time 0.005673/0.1474, allocations: 2.049 MB / 0.4886 GB, free: 14.89 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches