Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008914/0.0008915, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.361/1.361, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007389/0.0007389, allocations: 82.42 kB / 271.2 MB, free: 8.246 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.3361/0.3361, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 19.94 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002043/0.1199, allocations: 1.53 MB / 492.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1212, allocations: 0.8318 MB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.1213, allocations: 4 kB / 493.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.1217, allocations: 255.4 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.122, allocations: 155.6 kB / 493.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1224, allocations: 131.7 kB / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.1226, allocations: 203.4 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1227, allocations: 25.53 kB / 494 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1229, allocations: 115.6 kB / 494.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1231, allocations: 143.6 kB / 494.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1231, allocations: 7.938 kB / 494.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.979e-05/0.1232, allocations: 35.98 kB / 494.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.1233, allocations: 55.81 kB / 494.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.1234, allocations: 105.1 kB / 494.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1236, allocations: 167.9 kB / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1236, allocations: 0 / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1236, allocations: 0 / 494.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1236, allocations: 0 / 494.6 MB, free: 6.887 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006557/0.1243, allocations: 0.5176 MB / 495.1 MB, free: 6.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1243, allocations: 12.03 kB / 495.1 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.1244, allocations: 28.56 kB / 495.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1247, allocations: 280.1 kB / 495.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1248, allocations: 12.31 kB / 495.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.1248, allocations: 20.02 kB / 495.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.125, allocations: 91.36 kB / 495.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.125, allocations: 4 kB / 495.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1251, allocations: 0 / 495.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.1251, allocations: 4 kB / 495.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1252, allocations: 43.84 kB / 495.6 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.1257, allocations: 456.9 kB / 496 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.1259, allocations: 121.3 kB / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/0.126, allocations: 41.7 kB / 496.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1261, allocations: 7.969 kB / 496.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.1263, allocations: 109 kB / 496.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.1263, allocations: 4 kB / 496.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008272/0.1272, allocations: 371.6 kB / 496.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.1272, allocations: 89.03 kB / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.1277, allocations: 473.7 kB / 497.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1277, allocations: 33.7 kB / 497.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1278, allocations: 164.4 kB / 497.4 MB, free: 3.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.1279, allocations: 51.34 kB / 497.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.1279, allocations: 0 / 497.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.128, allocations: 346.8 kB / 497.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.1281, allocations: 47.91 kB / 497.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1282, allocations: 67.41 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1284, allocations: 119.5 kB / 498 MB, free: 3.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1284, allocations: 4 kB / 498 MB, free: 3.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000301/0.1287, allocations: 185.1 kB / 498.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1287, allocations: 4 kB / 498.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1287, allocations: 0 / 498.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1288, allocations: 4 kB / 498.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1289, allocations: 27.98 kB / 498.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1289, allocations: 7.938 kB / 498.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.129, allocations: 12.06 kB / 498.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.129, allocations: 4 kB / 498.3 MB, free: 2.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001527/0.1292, allocations: 177.7 kB / 498.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.1292, allocations: 27.62 kB / 498.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.1293, allocations: 42.81 kB / 498.5 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1293, allocations: 0 / 498.5 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1293, allocations: 4.688 kB / 498.5 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1293, allocations: 4 kB / 498.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.1301, allocations: 0.6319 MB / 499.1 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.1301, allocations: 4 kB / 499.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.1301, allocations: 15.98 kB / 499.2 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1301, allocations: 4 kB / 499.2 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1302, allocations: 12 kB / 499.2 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.1302, allocations: 7.922 kB / 499.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1302, allocations: 4.062 kB / 499.2 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1305, allocations: 363.9 kB / 499.5 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.1306, allocations: 108.7 kB / 499.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1307, allocations: 7.922 kB / 499.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1308, allocations: 16 kB / 499.7 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.1309, allocations: 7.984 kB / 499.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1309, allocations: 11.94 kB / 499.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003149/0.1312, allocations: 363.1 kB / 0.4883 GB, free: 1.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1312, allocations: 0 / 0.4883 GB, free: 1.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000304/0.1315, allocations: 40 kB / 0.4884 GB, free: 0.9688 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009508/0.1325, allocations: 481.8 kB / 0.4888 GB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.1328, allocations: 111.9 kB / 0.4889 GB, free: 444 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1328, allocations: 0 / 0.4889 GB, free: 444 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1329, allocations: 64.03 kB / 0.489 GB, free: 380 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.1334, allocations: 65.27 kB / 0.4891 GB, free: 316 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1762/0.3096, allocations: 0.5841 MB / 0.4896 GB, free: 42.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3098, allocations: 0.7725 MB / 0.4904 GB, free: 42.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.3099, allocations: 29.27 kB / 0.4904 GB, free: 42.15 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3099, allocations: 0 / 0.4904 GB, free: 42.15 MB / 378.7 MB Notification: Performance of Templates: time 0.005126/0.315, allocations: 3.324 MB / 0.4937 GB, free: 41.93 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches