Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.273/1.273, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007064/0.0007066, allocations: 82.44 kB / 271.2 MB, free: 8.238 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.3156/0.3156, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.000507, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001969/0.1294, allocations: 1.401 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1305, allocations: 0.7461 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1306, allocations: 3.938 kB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1308, allocations: 31.89 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.131, allocations: 43.84 kB / 493 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1313, allocations: 75.83 kB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1314, allocations: 79.7 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1315, allocations: 24.19 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.1316, allocations: 39.78 kB / 493.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.1317, allocations: 27.86 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1317, allocations: 0 / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.1318, allocations: 35.97 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.1319, allocations: 23.86 kB / 493.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.1319, allocations: 53.52 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1321, allocations: 92.02 kB / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1321, allocations: 0 / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1321, allocations: 4 kB / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1321, allocations: 0 / 493.5 MB, free: 8.188 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.0004987/0.1326, allocations: 399.1 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1327, allocations: 12.03 kB / 493.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.1327, allocations: 8.844 kB / 493.9 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1329, allocations: 216.7 kB / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.133, allocations: 384 / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.133, allocations: 8.125 kB / 494.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1331, allocations: 65.61 kB / 494.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1332, allocations: 3.938 kB / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1332, allocations: 0 / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1332, allocations: 0 / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.1333, allocations: 19.98 kB / 494.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.1336, allocations: 284.9 kB / 494.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1338, allocations: 62.61 kB / 494.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.1339, allocations: 20.8 kB / 494.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1339, allocations: 3.984 kB / 494.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.1341, allocations: 67.39 kB / 494.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1341, allocations: 0 / 494.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005168/0.1346, allocations: 169.2 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.1347, allocations: 59.39 kB / 494.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1348, allocations: 196.7 kB / 495.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1348, allocations: 29.7 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1349, allocations: 100.1 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1349, allocations: 23.7 kB / 495.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-06/0.1349, allocations: 0 / 495.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1351, allocations: 330.8 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.1351, allocations: 15.98 kB / 495.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.1352, allocations: 41.7 kB / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1353, allocations: 61.64 kB / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1353, allocations: 0 / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.1355, allocations: 101.4 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1355, allocations: 8 kB / 495.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1355, allocations: 0 / 495.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1355, allocations: 4.031 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1356, allocations: 19.98 kB / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1356, allocations: 4 kB / 495.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.1357, allocations: 3.938 kB / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1357, allocations: 4 kB / 495.8 MB, free: 5.664 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 9.707e-05/0.1358, allocations: 133.8 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.1358, allocations: 7.906 kB / 495.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.1359, allocations: 17.34 kB / 495.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1359, allocations: 4 kB / 495.9 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1359, allocations: 4 kB / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1359, allocations: 7.875 kB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.1363, allocations: 395.2 kB / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1363, allocations: 4 kB / 496.3 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.1364, allocations: 8.359 kB / 496.4 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1364, allocations: 4 kB / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1364, allocations: 7.938 kB / 496.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1364, allocations: 0 / 496.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1364, allocations: 8.219 kB / 496.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.1366, allocations: 200.5 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.1367, allocations: 92.86 kB / 496.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1367, allocations: 7.938 kB / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1368, allocations: 4 kB / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1368, allocations: 15.92 kB / 496.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1368, allocations: 4 kB / 496.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.1369, allocations: 156.9 kB / 496.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.137, allocations: 0 / 496.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.1372, allocations: 23.98 kB / 496.9 MB, free: 4.473 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.0008884/0.1381, allocations: 468.5 kB / 497.3 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1383, allocations: 59.91 kB / 497.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1383, allocations: 0 / 497.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.1383, allocations: 23.98 kB / 497.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1387, allocations: 31.97 kB / 497.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1391, allocations: 272.2 kB / 497.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1393, allocations: 0.7083 MB / 498.4 MB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1394, allocations: 19.42 kB / 498.4 MB, free: 2.891 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1394, allocations: 0 / 498.4 MB, free: 2.891 MB / 378.7 MB Notification: Performance of Templates: time 0.00318/0.1426, allocations: 1.891 MB / 0.4886 GB, free: 1.004 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches