Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 105.6 kB / 17.03 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 196.1 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2091/0.2091, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 75.22 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1005, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002877/0.1034, allocations: 1.556 MB / 443.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005632/0.104, allocations: 315.5 kB / 443.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.1041, allocations: 4 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.1043, allocations: 31.83 kB / 443.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1045, allocations: 35.8 kB / 443.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1048, allocations: 95.73 kB / 444 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.105, allocations: 51.91 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1051, allocations: 11.94 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.1052, allocations: 23.91 kB / 444.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.1052, allocations: 23.8 kB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1053, allocations: 0 / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.1054, allocations: 32 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1054, allocations: 23.91 kB / 444.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.1055, allocations: 15.88 kB / 444.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1056, allocations: 71.8 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1056, allocations: 0 / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1056, allocations: 0 / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1057, allocations: 0 / 444.2 MB, free: 3.875 MB / 318.1 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.0003765/0.106, allocations: 383.1 kB / 444.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1061, allocations: 11.89 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1061, allocations: 8.844 kB / 444.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1063, allocations: 184.3 kB / 444.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1063, allocations: 384 / 444.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.1063, allocations: 384 / 444.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1065, allocations: 53.8 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1065, allocations: 0 / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1065, allocations: 4 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1065, allocations: 4 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.551e-05/0.1066, allocations: 19.98 kB / 444.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.107, allocations: 292.7 kB / 445.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1072, allocations: 42.56 kB / 445.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.1072, allocations: 24.92 kB / 445.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1073, allocations: 0 / 445.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.1073, allocations: 30.56 kB / 445.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1073, allocations: 4 kB / 445.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005427/0.1078, allocations: 145.3 kB / 445.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.1079, allocations: 55.34 kB / 445.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.108, allocations: 145.8 kB / 445.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.108, allocations: 33.64 kB / 445.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.108, allocations: 88.14 kB / 445.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1081, allocations: 27.64 kB / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.1081, allocations: 17.72 kB / 445.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.1082, allocations: 322.8 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.1082, allocations: 19.97 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.1083, allocations: 23.98 kB / 446.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1084, allocations: 49.02 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1084, allocations: 8 kB / 446.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001577/0.1086, allocations: 77.66 kB / 446.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1086, allocations: 8 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1086, allocations: 0 / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1086, allocations: 3.938 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.1087, allocations: 11.94 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1087, allocations: 4 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.1087, allocations: 11.89 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1087, allocations: 4 kB / 446.3 MB, free: 1.574 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.1088, allocations: 125.7 kB / 446.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1088, allocations: 4 kB / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.109, allocations: 93.95 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1091, allocations: 0 / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1091, allocations: 4 kB / 446.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1091, allocations: 0 / 446.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.1094, allocations: 362.3 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1094, allocations: 0 / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.1095, allocations: 8 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1095, allocations: 0 / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1095, allocations: 0 / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1095, allocations: 11.92 kB / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1095, allocations: 0 / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.1097, allocations: 183.6 kB / 447.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.1097, allocations: 85.09 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1098, allocations: 0 / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1098, allocations: 11.94 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1099, allocations: 3.984 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1099, allocations: 4 kB / 447.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.015e-05/0.11, allocations: 107.3 kB / 447.3 MB, free: 500 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.11, allocations: 0 / 447.3 MB, free: 500 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1102, allocations: 20 kB / 447.3 MB, free: 480 kB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008362/0.1111, allocations: 400.9 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1113, allocations: 59.89 kB / 447.8 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1113, allocations: 0 / 447.8 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.1113, allocations: 27.98 kB / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1117, allocations: 19.98 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.1121, allocations: 165.5 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1124, allocations: 0.6963 MB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.1125, allocations: 8 kB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.1126, allocations: 15.42 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1126, allocations: 0 / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Templates: time 0.003699/0.1163, allocations: 1.105 MB / 449.8 MB, free: 14.02 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches