Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008871/0.0008873, allocations: 173.7 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.243/1.243, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007393/0.0007392, allocations: 84.98 kB / 271.2 MB, free: 8.25 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.3214/0.3214, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002009/0.1139, allocations: 1.398 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.115, allocations: 0.7422 MB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.1151, allocations: 3.938 kB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.1154, allocations: 31.89 kB / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1156, allocations: 39.84 kB / 493 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1159, allocations: 83.83 kB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1161, allocations: 83.7 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1162, allocations: 16.22 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.1163, allocations: 39.78 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.1164, allocations: 27.84 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1164, allocations: 4 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.1165, allocations: 31.98 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.1165, allocations: 19.86 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.1166, allocations: 53.5 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1168, allocations: 84.11 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1168, allocations: 0 / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1168, allocations: 0 / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1168, allocations: 4 kB / 493.5 MB, free: 8.203 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.0005026/0.1173, allocations: 407 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1173, allocations: 8.031 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1174, allocations: 8.844 kB / 493.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1176, allocations: 204 kB / 494.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1176, allocations: 8.359 kB / 494.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1177, allocations: 8.125 kB / 494.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1178, allocations: 61.61 kB / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1178, allocations: 0 / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1178, allocations: 0 / 494.2 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1178, allocations: 4 kB / 494.2 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.1179, allocations: 19.92 kB / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.1183, allocations: 280.9 kB / 494.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1184, allocations: 62.67 kB / 494.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1185, allocations: 20.84 kB / 494.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1185, allocations: 4 kB / 494.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1187, allocations: 71.23 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1187, allocations: 0 / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000515/0.1192, allocations: 169.3 kB / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1193, allocations: 55.41 kB / 494.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1195, allocations: 190.1 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1195, allocations: 29.7 kB / 495.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.1196, allocations: 100.1 kB / 495.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.1196, allocations: 23.66 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.1196, allocations: 4 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1197, allocations: 326.8 kB / 495.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.1198, allocations: 19.98 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.1199, allocations: 41.7 kB / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.12, allocations: 53.66 kB / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.12, allocations: 0 / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.1202, allocations: 101.6 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1202, allocations: 10.5 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1202, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1202, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.1203, allocations: 24.33 kB / 495.7 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1203, allocations: 4 kB / 495.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.1204, allocations: 7.938 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1204, allocations: 4 kB / 495.8 MB, free: 5.688 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.596e-05/0.1205, allocations: 133.5 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.1205, allocations: 11.91 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.1206, allocations: 12.72 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1206, allocations: 0 / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1206, allocations: 4 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1206, allocations: 7.875 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.121, allocations: 395.2 kB / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.121, allocations: 0 / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.1211, allocations: 11.94 kB / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1211, allocations: 0 / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1211, allocations: 3.938 kB / 496.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1211, allocations: 4 kB / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1211, allocations: 4.031 kB / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1214, allocations: 200.5 kB / 496.5 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.1214, allocations: 92.91 kB / 496.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1214, allocations: 7.938 kB / 496.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.1215, allocations: 4 kB / 496.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1216, allocations: 7.984 kB / 496.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1216, allocations: 4.188 kB / 496.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1217, allocations: 148 kB / 496.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1217, allocations: 3.938 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.122, allocations: 24 kB / 496.8 MB, free: 4.531 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.000921/0.1229, allocations: 465.9 kB / 497.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1231, allocations: 55.97 kB / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1231, allocations: 0 / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.1231, allocations: 31.92 kB / 497.4 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1235, allocations: 19.98 kB / 497.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/0.1239, allocations: 268.2 kB / 497.6 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1242, allocations: 0.7043 MB / 498.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.1242, allocations: 19.44 kB / 498.4 MB, free: 2.957 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1243, allocations: 3.938 kB / 498.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of Templates: time 0.003432/0.1277, allocations: 1.871 MB / 0.4885 GB, free: 1.086 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches