Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002513/0.002512, allocations: 188.5 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.179/2.179, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001189/0.001188, allocations: 86.89 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.2888/0.2888, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007259/0.0007262, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.125, allocations: 58.86 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002448/0.1275, allocations: 1.344 MB / 491.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1293, allocations: 0.715 MB / 492.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.1294, allocations: 7.938 kB / 492.3 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1297, allocations: 31.83 kB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.1299, allocations: 47.88 kB / 492.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.1303, allocations: 79.77 kB / 492.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1305, allocations: 55.94 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.1306, allocations: 4 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1307, allocations: 47.77 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.1308, allocations: 23.91 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1309, allocations: 0 / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.131, allocations: 23.94 kB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.1311, allocations: 23.91 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.1311, allocations: 41.64 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1313, allocations: 96.03 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1314, allocations: 4 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1314, allocations: 0 / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1314, allocations: 3.938 kB / 492.8 MB, free: 6.762 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006227/0.132, allocations: 402.9 kB / 493.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1321, allocations: 12.03 kB / 493.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.1321, allocations: 15.77 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1325, allocations: 214.5 kB / 493.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1325, allocations: 8 kB / 493.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1325, allocations: 4 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1327, allocations: 57.61 kB / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1327, allocations: 0 / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1327, allocations: 0 / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1328, allocations: 0 / 493.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1329, allocations: 19.88 kB / 493.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.1331, allocations: 185.7 kB / 493.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1334, allocations: 54.61 kB / 493.7 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1334, allocations: 11.94 kB / 493.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.1337, allocations: 59.48 kB / 493.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.215e-06/0.1337, allocations: 0 / 493.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003836/0.1341, allocations: 93.58 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1341, allocations: 51.41 kB / 493.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.1345, allocations: 262.5 kB / 494.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1346, allocations: 37.69 kB / 494.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.1347, allocations: 166.5 kB / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.1347, allocations: 11.91 kB / 494.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1348, allocations: 0 / 494.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1349, allocations: 318.8 kB / 494.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.135, allocations: 15.98 kB / 494.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.1351, allocations: 21.72 kB / 494.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.647e-05/0.1352, allocations: 23.98 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1352, allocations: 0 / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002397/0.1355, allocations: 73.62 kB / 494.8 MB, free: 4.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1355, allocations: 4 kB / 494.8 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1355, allocations: 4 kB / 494.8 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1355, allocations: 0 / 494.8 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1357, allocations: 11.98 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1357, allocations: 0 / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.1358, allocations: 15.88 kB / 494.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1358, allocations: 4 kB / 494.9 MB, free: 4.418 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 (7): * Single equations (assignments): 7 * 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.0001563/0.136, allocations: 141.4 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.136, allocations: 11.91 kB / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.1361, allocations: 24.97 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1361, allocations: 0 / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1361, allocations: 0 / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1361, allocations: 3.938 kB / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1363, allocations: 201.5 kB / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1364, allocations: 4.312 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.1364, allocations: 11.94 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1364, allocations: 0 / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1364, allocations: 11.94 kB / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1364, allocations: 0 / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1365, allocations: 0 / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1367, allocations: 105 kB / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1369, allocations: 96.91 kB / 495.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.1369, allocations: 4 kB / 495.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.137, allocations: 4 kB / 495.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.137, allocations: 4 kB / 495.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1371, allocations: 3.984 kB / 495.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002624/0.1373, allocations: 200.2 kB / 495.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1373, allocations: 0 / 495.7 MB, free: 3.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.1376, allocations: 12 kB / 495.7 MB, free: 3.504 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001247/0.1389, allocations: 413.8 kB / 496.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1392, allocations: 39.97 kB / 496.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1392, allocations: 0 / 496.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.1393, allocations: 19.94 kB / 496.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1396, allocations: 31.92 kB / 496.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.1403, allocations: 299.5 kB / 496.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1407, allocations: 0.7199 MB / 497.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.1407, allocations: 11.44 kB / 497.2 MB, free: 1.973 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1408, allocations: 0 / 497.2 MB, free: 1.973 MB / 330.7 MB Notification: Performance of Templates: time 0.00524/0.146, allocations: 1.82 MB / 499 MB, free: 160 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches