Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001117, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001265/0.001266, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.17 MB / 336.2 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 69.55 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.106, allocations: 60.84 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002921/0.1089, allocations: 1.61 MB / 470.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1103, allocations: 0.9882 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.1104, allocations: 4 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1107, allocations: 27.91 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.1109, allocations: 31.91 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1112, allocations: 79.42 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1114, allocations: 59.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1115, allocations: 8 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.1115, allocations: 19.92 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1117, allocations: 38.73 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1117, allocations: 4 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1118, allocations: 51.97 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1119, allocations: 11.94 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1119, allocations: 19.86 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1121, allocations: 87.78 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1121, allocations: 0 / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1122, allocations: 0 / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1122, allocations: 0 / 471.8 MB, free: 11.66 MB / 350.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.0004762/0.1126, allocations: 379.6 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1127, allocations: 8.031 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.1127, allocations: 8.844 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.113, allocations: 192.1 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.113, allocations: 384 / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.113, allocations: 384 / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1132, allocations: 67.53 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1132, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1132, allocations: 7.922 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1132, allocations: 4 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.1133, allocations: 23.92 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1137, allocations: 280.8 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1139, allocations: 42.56 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.114, allocations: 16.86 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.114, allocations: 4 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.114, allocations: 34.64 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.114, allocations: 0 / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005103/0.1145, allocations: 133.3 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.1146, allocations: 81.11 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1147, allocations: 133.8 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1148, allocations: 29.7 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.1148, allocations: 88.14 kB / 473.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.1149, allocations: 15.75 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1149, allocations: 21.7 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.115, allocations: 322.7 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.1151, allocations: 19.98 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.673e-05/0.1152, allocations: 33.7 kB / 473.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1153, allocations: 48.83 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1153, allocations: 0 / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001634/0.1155, allocations: 73.86 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1155, allocations: 4 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1155, allocations: 4 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1155, allocations: 8.016 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.1156, allocations: 11.94 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1156, allocations: 0 / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.1157, allocations: 11.97 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1157, allocations: 0 / 473.8 MB, free: 9.355 MB / 350.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 8.777e-05/0.1158, allocations: 118.3 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.1158, allocations: 7.906 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.116, allocations: 97.61 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.116, allocations: 0 / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.116, allocations: 320 / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.116, allocations: 0 / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.1165, allocations: 350.4 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1165, allocations: 0 / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.1165, allocations: 15.92 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1165, allocations: 4 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1165, allocations: 8 kB / 474.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1166, allocations: 3.938 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1166, allocations: 0 / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.1168, allocations: 179.3 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.1168, allocations: 77.11 kB / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1168, allocations: 0 / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.1169, allocations: 15.92 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.117, allocations: 4 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.117, allocations: 0 / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.198e-05/0.117, allocations: 107.2 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1171, allocations: 0 / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1173, allocations: 27.91 kB / 474.8 MB, free: 8.254 MB / 350.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.000969/0.1183, allocations: 452.8 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1185, allocations: 47.91 kB / 475.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1185, allocations: 0 / 475.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.1186, allocations: 23.98 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1189, allocations: 19.98 kB / 475.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.1194, allocations: 173.5 kB / 475.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1197, allocations: 0.6885 MB / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.1197, allocations: 11.98 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1198, allocations: 19.36 kB / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1198, allocations: 0 / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Templates: time 0.003606/0.1234, allocations: 1.325 MB / 477.6 MB, free: 5.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches