Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001002, allocations: 175.2 kB / 16.72 MB, free: 5.051 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.301/1.301, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007692/0.0007695, allocations: 86.31 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.3063/0.3063, allocations: 43.57 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 20 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001867/0.1067, allocations: 1.401 MB / 492.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1078, allocations: 0.7422 MB / 493 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.1078, allocations: 4 kB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.1081, allocations: 31.89 kB / 493 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1083, allocations: 43.83 kB / 493.1 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1085, allocations: 75.84 kB / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1087, allocations: 87.69 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.1088, allocations: 12.22 kB / 493.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.1088, allocations: 39.78 kB / 493.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.1089, allocations: 31.84 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1089, allocations: 0 / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.109, allocations: 28 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.1091, allocations: 23.91 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.1091, allocations: 57.44 kB / 493.4 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1093, allocations: 84.09 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1093, allocations: 7.938 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1093, allocations: 0 / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1093, allocations: 0 / 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.0004524/0.1098, allocations: 399.1 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1098, allocations: 8.031 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1098, allocations: 8.844 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.11, allocations: 208 kB / 494.1 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1101, allocations: 4.375 kB / 494.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1101, allocations: 8.125 kB / 494.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1103, allocations: 53.67 kB / 494.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1103, allocations: 11.88 kB / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1103, allocations: 0 / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1103, allocations: 0 / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.1104, allocations: 19.98 kB / 494.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.1107, allocations: 280.9 kB / 494.5 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1109, allocations: 58.67 kB / 494.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.1109, allocations: 28.78 kB / 494.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.111, allocations: 0 / 494.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1111, allocations: 79.28 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1111, allocations: 0 / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.1116, allocations: 165.3 kB / 494.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1117, allocations: 51.41 kB / 494.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1118, allocations: 190.1 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1119, allocations: 25.7 kB / 495.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.1119, allocations: 108.1 kB / 495.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.112, allocations: 23.64 kB / 495.2 MB, free: 6.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.112, allocations: 4 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1121, allocations: 322.8 kB / 495.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.1121, allocations: 20 kB / 495.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.154e-05/0.1122, allocations: 41.7 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1123, allocations: 57.64 kB / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1123, allocations: 0 / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.1125, allocations: 105.5 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1125, allocations: 4 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1125, allocations: 4 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1126, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.1126, allocations: 12 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1127, allocations: 4.031 kB / 495.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.1127, allocations: 11.92 kB / 495.8 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1127, allocations: 4 kB / 495.8 MB, free: 5.695 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.567e-05/0.1128, allocations: 129.6 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1128, allocations: 7.906 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.1129, allocations: 16.7 kB / 495.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1129, allocations: 11.92 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1129, allocations: 0 / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1129, allocations: 7.938 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.1133, allocations: 391.2 kB / 496.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1133, allocations: 7.938 kB / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.1134, allocations: 4 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1134, allocations: 7.984 kB / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1134, allocations: 3.938 kB / 496.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1134, allocations: 0 / 496.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1134, allocations: 4 kB / 496.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1136, allocations: 196.3 kB / 496.5 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1137, allocations: 88.92 kB / 496.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1137, allocations: 15.92 kB / 496.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.1138, allocations: 0 / 496.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1138, allocations: 7.938 kB / 496.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1138, allocations: 8.547 kB / 496.7 MB, free: 4.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.1139, allocations: 144.1 kB / 496.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1139, allocations: 3.938 kB / 496.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.1142, allocations: 27.98 kB / 496.8 MB, free: 4.535 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.0009221/0.1151, allocations: 473.3 kB / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.1153, allocations: 51.92 kB / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1153, allocations: 4 kB / 497.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/0.1154, allocations: 27.98 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.0003022/0.1157, allocations: 27.56 kB / 497.4 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.1161, allocations: 268.2 kB / 497.7 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1164, allocations: 0.7004 MB / 498.4 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.1164, allocations: 15.44 kB / 498.4 MB, free: 2.961 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1165, allocations: 4 kB / 498.4 MB, free: 2.957 MB / 378.7 MB Notification: Performance of Templates: time 0.003179/0.1196, allocations: 1.868 MB / 0.4885 GB, free: 1.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches