Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009201/0.0009202, allocations: 177.1 kB / 16.72 MB, free: 4.934 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.346/1.346, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007566/0.0007568, allocations: 92.92 kB / 271.2 MB, free: 8.227 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.3097/0.3097, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 20 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001926/0.1101, allocations: 1.401 MB / 492.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1112, allocations: 0.75 MB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.1113, allocations: 0 / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1116, allocations: 31.89 kB / 493 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.1117, allocations: 43.83 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.112, allocations: 71.86 kB / 493.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1122, allocations: 87.67 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1123, allocations: 12.22 kB / 493.2 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.1124, allocations: 39.8 kB / 493.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.1124, allocations: 31.84 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1125, allocations: 0 / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.1125, allocations: 31.98 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.1126, allocations: 19.86 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.1127, allocations: 57.5 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1128, allocations: 84.09 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1128, allocations: 4 kB / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1128, allocations: 0 / 493.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1128, allocations: 3.938 kB / 493.5 MB, free: 8.199 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.0004999/0.1133, allocations: 395.1 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1134, allocations: 8.031 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.1134, allocations: 8.844 kB / 493.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1136, allocations: 216 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1137, allocations: 384 / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1137, allocations: 8.125 kB / 494.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1138, allocations: 61.61 kB / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1139, allocations: 0 / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1139, allocations: 0 / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1139, allocations: 11.92 kB / 494.2 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.114, allocations: 16 kB / 494.2 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1143, allocations: 288.9 kB / 494.5 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1145, allocations: 50.69 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1145, allocations: 28.78 kB / 494.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1146, allocations: 0 / 494.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.1147, allocations: 75.23 kB / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1148, allocations: 0 / 494.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004947/0.1153, allocations: 169.3 kB / 494.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1153, allocations: 51.41 kB / 494.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1155, allocations: 182.1 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1155, allocations: 33.7 kB / 495.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.1156, allocations: 100.1 kB / 495.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1156, allocations: 31.62 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.1156, allocations: 0 / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1157, allocations: 330.8 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.1158, allocations: 15.98 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.1159, allocations: 33.72 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.116, allocations: 65.64 kB / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.116, allocations: 0 / 495.6 MB, free: 5.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001654/0.1161, allocations: 97.52 kB / 495.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1162, allocations: 7.594 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1162, allocations: 4 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1162, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.1163, allocations: 12 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1163, allocations: 0 / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.1164, allocations: 19.95 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1164, allocations: 4 kB / 495.8 MB, free: 5.691 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 8.838e-05/0.1165, allocations: 125.6 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1165, allocations: 7.906 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.1165, allocations: 24.86 kB / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1165, allocations: 0 / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1166, allocations: 0 / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1166, allocations: 15.8 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.117, allocations: 391.3 kB / 496.3 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.117, allocations: 4.375 kB / 496.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.117, allocations: 15.92 kB / 496.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.117, allocations: 0 / 496.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.117, allocations: 11.94 kB / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1171, allocations: 0 / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1171, allocations: 4 kB / 496.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.1173, allocations: 196.3 kB / 496.5 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.1173, allocations: 93.09 kB / 496.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1174, allocations: 7.938 kB / 496.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.1174, allocations: 3.938 kB / 496.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1175, allocations: 15.92 kB / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1175, allocations: 4 kB / 496.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1176, allocations: 140.1 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1176, allocations: 4 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.1179, allocations: 27.98 kB / 496.8 MB, free: 4.523 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.0009163/0.1188, allocations: 452.3 kB / 497.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.119, allocations: 71.89 kB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.119, allocations: 0 / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.119, allocations: 20 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.0003014/0.1194, allocations: 27.97 kB / 497.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.1198, allocations: 264.2 kB / 497.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1201, allocations: 0.7043 MB / 498.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.1201, allocations: 19.42 kB / 498.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1201, allocations: 0 / 498.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of Templates: time 0.003201/0.1233, allocations: 1.882 MB / 0.4885 GB, free: 1.078 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches