Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.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.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008289/0.000829, allocations: 169.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.145/1.145, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007185/0.0007185, allocations: 78.42 kB / 271.2 MB, free: 8.258 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.2931/0.2931, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 16 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.1002, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test33): time 0.001547/0.1018, allocations: 1.259 MB / 492.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1028, allocations: 0.9104 MB / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.1029, allocations: 0 / 493 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.103, allocations: 19.92 kB / 493 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.1032, allocations: 27.91 kB / 493 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1034, allocations: 87.81 kB / 493.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.1035, allocations: 51.84 kB / 493.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.758e-05/0.1036, allocations: 11.98 kB / 493.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.702e-05/0.1036, allocations: 19.92 kB / 493.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.104, allocations: 27.84 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.104, allocations: 4 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.1041, allocations: 35.98 kB / 493.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.1041, allocations: 15.92 kB / 493.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.1042, allocations: 37.64 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.1043, allocations: 63.83 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1043, allocations: 0 / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1043, allocations: 4 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1043, allocations: 0 / 493.4 MB, free: 8.305 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003697/0.1047, allocations: 375.2 kB / 493.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1047, allocations: 8.031 kB / 493.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.1048, allocations: 8.844 kB / 493.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.1049, allocations: 188.2 kB / 494 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1049, allocations: 4.375 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.105, allocations: 4.375 kB / 494 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1051, allocations: 71.45 kB / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1051, allocations: 0 / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1051, allocations: 8 kB / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1051, allocations: 0 / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.1052, allocations: 23.98 kB / 494.1 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.1056, allocations: 284.9 kB / 494.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1058, allocations: 50.48 kB / 494.4 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.1058, allocations: 16.86 kB / 494.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1058, allocations: 0 / 494.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.1059, allocations: 38.66 kB / 494.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1059, allocations: 0 / 494.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005033/0.1064, allocations: 165.3 kB / 494.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1064, allocations: 81.11 kB / 494.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1066, allocations: 129.8 kB / 494.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1066, allocations: 29.64 kB / 494.8 MB, free: 6.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.1066, allocations: 92.12 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.1066, allocations: 15.75 kB / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.1066, allocations: 0 / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.1068, allocations: 334.7 kB / 495.3 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.1068, allocations: 23.98 kB / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.1069, allocations: 33.7 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.107, allocations: 64.86 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1071, allocations: 3.938 kB / 495.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001826/0.1072, allocations: 93.75 kB / 495.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1073, allocations: 4 kB / 495.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1073, allocations: 8.062 kB / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.1073, allocations: 0 / 495.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.1074, allocations: 15.98 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1074, allocations: 0 / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.1074, allocations: 8 kB / 495.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1074, allocations: 0 / 495.5 MB, free: 5.934 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.988e-05/0.1075, allocations: 121.8 kB / 495.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.1075, allocations: 15.89 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.1078, allocations: 101.6 kB / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1078, allocations: 0 / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1078, allocations: 0 / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1078, allocations: 0 / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.1082, allocations: 366.4 kB / 496.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1082, allocations: 0 / 496.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.1083, allocations: 16.27 kB / 496.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1083, allocations: 0 / 496.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1083, allocations: 0 / 496.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1083, allocations: 3.938 kB / 496.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1083, allocations: 8 kB / 496.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.1085, allocations: 191.4 kB / 496.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.1086, allocations: 89 kB / 496.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1086, allocations: 192 / 496.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1087, allocations: 19.94 kB / 496.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1087, allocations: 7.984 kB / 496.4 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1087, allocations: 0 / 496.4 MB, free: 4.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.37e-05/0.1088, allocations: 107.8 kB / 496.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1088, allocations: 3.938 kB / 496.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.109, allocations: 20 kB / 496.6 MB, free: 4.777 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000803/0.1098, allocations: 444.9 kB / 497 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.11, allocations: 55.95 kB / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.11, allocations: 0 / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.1101, allocations: 39.92 kB / 497.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1104, allocations: 15.92 kB / 497.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.1107, allocations: 202.3 kB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.111, allocations: 0.6926 MB / 498 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.111, allocations: 11.44 kB / 498 MB, free: 3.316 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.111, allocations: 0 / 498 MB, free: 3.316 MB / 378.7 MB Notification: Performance of Templates: time 0.002679/0.1137, allocations: 1.571 MB / 499.6 MB, free: 1.746 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches