Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001229, allocations: 173.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.347/1.347, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000757/0.0007569, allocations: 87.52 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.31/0.31, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 12 kB / 432 MB, free: 5.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09831, allocations: 58.86 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001805/0.1002, allocations: 1.401 MB / 492.2 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1012, allocations: 0.7383 MB / 493 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.1013, allocations: 3.938 kB / 493 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1015, allocations: 31.89 kB / 493 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.1017, allocations: 43.83 kB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.1019, allocations: 79.83 kB / 493.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.102, allocations: 83.7 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.1021, allocations: 16.22 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.362e-05/0.1022, allocations: 39.78 kB / 493.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.1023, allocations: 27.84 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1023, allocations: 4 kB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.1024, allocations: 31.94 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.1024, allocations: 15.92 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.1025, allocations: 57.48 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1026, allocations: 84.11 kB / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1027, allocations: 4 kB / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1027, allocations: 0 / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1027, allocations: 0 / 493.5 MB, free: 8.188 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.0004606/0.1031, allocations: 407 kB / 493.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1032, allocations: 8.031 kB / 493.9 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.1032, allocations: 8.844 kB / 493.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1034, allocations: 204 kB / 494.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1034, allocations: 4.375 kB / 494.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1035, allocations: 20.05 kB / 494.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1036, allocations: 49.67 kB / 494.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1036, allocations: 0 / 494.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1036, allocations: 4 kB / 494.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1037, allocations: 4 kB / 494.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.1037, allocations: 19.92 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.1041, allocations: 280.9 kB / 494.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1042, allocations: 54.69 kB / 494.5 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.1043, allocations: 20.84 kB / 494.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1043, allocations: 8 kB / 494.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.1045, allocations: 71.23 kB / 494.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1045, allocations: 3.938 kB / 494.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004852/0.105, allocations: 177.3 kB / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.105, allocations: 51.41 kB / 494.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1052, allocations: 186.1 kB / 495 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1052, allocations: 29.7 kB / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.1053, allocations: 96.14 kB / 495.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1053, allocations: 27.64 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.1053, allocations: 0 / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.1054, allocations: 330.8 kB / 495.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.1055, allocations: 19.98 kB / 495.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.1056, allocations: 37.7 kB / 495.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1057, allocations: 57.66 kB / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1057, allocations: 0 / 495.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000161/0.1059, allocations: 97.56 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1059, allocations: 11.28 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.1059, allocations: 4.031 kB / 495.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1059, allocations: 0 / 495.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.106, allocations: 23.92 kB / 495.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.106, allocations: 4 kB / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.1061, allocations: 3.938 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1061, allocations: 4 kB / 495.8 MB, free: 5.676 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.362e-05/0.1062, allocations: 129.8 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.1062, allocations: 11.91 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.1062, allocations: 20.7 kB / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1062, allocations: 0 / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1062, allocations: 3.938 kB / 495.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1062, allocations: 3.938 kB / 495.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.1066, allocations: 391.2 kB / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1066, allocations: 0 / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.1067, allocations: 11.98 kB / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1067, allocations: 3.938 kB / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1067, allocations: 7.969 kB / 496.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1067, allocations: 4 kB / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1067, allocations: 0 / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1069, allocations: 200.3 kB / 496.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.107, allocations: 92.91 kB / 496.6 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.107, allocations: 4.125 kB / 496.6 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.1071, allocations: 8 kB / 496.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.1071, allocations: 15.92 kB / 496.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1071, allocations: 384 / 496.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1072, allocations: 148 kB / 496.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1073, allocations: 0 / 496.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.1075, allocations: 24 kB / 496.8 MB, free: 4.516 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.0008603/0.1084, allocations: 469.2 kB / 497.3 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.1085, allocations: 55.97 kB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1085, allocations: 0 / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.1086, allocations: 31.92 kB / 497.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.1089, allocations: 23.92 kB / 497.4 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.1093, allocations: 260.2 kB / 497.6 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1096, allocations: 0.7083 MB / 498.4 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1096, allocations: 19.42 kB / 498.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1096, allocations: 0 / 498.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of Templates: time 0.003016/0.1126, allocations: 1.867 MB / 0.4885 GB, free: 1.082 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches