Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 109.1 kB / 17.03 MB, free: 6.102 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.001398/0.001398, allocations: 194.9 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.429/1.429, 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.2111/0.2111, allocations: 43.53 MB / 314.7 MB, free: 468 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.001563/0.001563, allocations: 72.27 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1114, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.003267/0.1147, allocations: 1.552 MB / 443.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1159, allocations: 0.9416 MB / 444.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.116, allocations: 4 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.1163, allocations: 23.84 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1165, allocations: 43.78 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1168, allocations: 95.44 kB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1169, allocations: 55.83 kB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1171, allocations: 15.94 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.1171, allocations: 23.86 kB / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1173, allocations: 23.91 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1173, allocations: 4 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1174, allocations: 51.97 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.1175, allocations: 19.92 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.1175, allocations: 19.86 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1177, allocations: 91.72 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1177, allocations: 0 / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1178, allocations: 0 / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1178, allocations: 0 / 444.9 MB, free: 3.172 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.0004044/0.1182, allocations: 375.2 kB / 445.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1182, allocations: 15.89 kB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.1183, allocations: 0.9375 kB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.1184, allocations: 192.2 kB / 445.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1184, allocations: 8.375 kB / 445.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1185, allocations: 4.312 kB / 445.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1186, allocations: 71.45 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1187, allocations: 0 / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1187, allocations: 4 kB / 445.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1187, allocations: 0 / 445.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1188, allocations: 23.97 kB / 445.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1191, allocations: 276.9 kB / 445.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1193, allocations: 54.48 kB / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.1194, allocations: 12.86 kB / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1194, allocations: 4.078 kB / 445.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.1194, allocations: 38.56 kB / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1194, allocations: 0 / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005351/0.12, allocations: 141.3 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.12, allocations: 77.11 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1202, allocations: 133.8 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1202, allocations: 29.7 kB / 446.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.1202, allocations: 100 kB / 446.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1202, allocations: 11.81 kB / 446.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1203, allocations: 13.72 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.1203, allocations: 326.8 kB / 446.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.1204, allocations: 19.98 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.1205, allocations: 29.7 kB / 446.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1206, allocations: 68.97 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1206, allocations: 0 / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001611/0.1208, allocations: 81.58 kB / 447 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1208, allocations: 8 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1208, allocations: 0 / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1208, allocations: 0 / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.1209, allocations: 11.98 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1209, allocations: 3.938 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.121, allocations: 11.98 kB / 447 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.121, allocations: 4 kB / 447 MB, free: 0.8203 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 6.789e-05/0.1211, allocations: 121.7 kB / 447.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.1211, allocations: 4 kB / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.1213, allocations: 97.47 kB / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1213, allocations: 0 / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1213, allocations: 3.984 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1213, allocations: 4 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1217, allocations: 358.4 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1217, allocations: 0 / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.1217, allocations: 16 kB / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1217, allocations: 0 / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1217, allocations: 3.938 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1217, allocations: 7.922 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1218, allocations: 192 / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.122, allocations: 183.4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.122, allocations: 81.09 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1221, allocations: 0 / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.1221, allocations: 11.94 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.1222, allocations: 7.984 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1222, allocations: 0 / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1223, allocations: 119.2 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1223, allocations: 0 / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1226, allocations: 20 kB / 448 MB, free: 15.7 MB / 334.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.001051/0.1237, allocations: 449.2 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1239, allocations: 55.95 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1239, allocations: 0 / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.124, allocations: 31.92 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1243, allocations: 15.98 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.1247, allocations: 157.5 kB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1251, allocations: 0.6944 MB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.202e-05/0.1251, allocations: 11.98 kB / 449.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.1252, allocations: 19.42 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1252, allocations: 0 / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of Templates: time 0.004289/0.1295, allocations: 1.376 MB / 450.8 MB, free: 12.95 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches