Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 110 kB / 17.86 MB, free: 5.504 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.001288/0.001288, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.352/1.352, allocations: 222.9 MB / 242.5 MB, free: 13.65 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.1985/0.1985, allocations: 44.16 MB / 336.8 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 58.28 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1047, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.00301/0.1078, allocations: 1.622 MB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1093, allocations: 0.9999 MB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.1093, allocations: 3.938 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1096, allocations: 19.91 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.1097, allocations: 43.91 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.11, allocations: 99.75 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1102, allocations: 47.84 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.1103, allocations: 12 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.1103, allocations: 23.86 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1104, allocations: 23.91 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1105, allocations: 11.94 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.1106, allocations: 39.98 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.1106, allocations: 19.91 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.1107, allocations: 15.88 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1108, allocations: 71.84 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1108, allocations: 0 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1109, allocations: 0 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1109, allocations: 0 / 472.2 MB, free: 11.75 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.000464/0.1113, allocations: 375.5 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1114, allocations: 12.03 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.1114, allocations: 8.844 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1116, allocations: 191.2 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.1116, allocations: 384 / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1117, allocations: 4.375 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1118, allocations: 71.45 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1119, allocations: 0 / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1119, allocations: 0 / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1119, allocations: 4 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.112, allocations: 23.98 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.1124, allocations: 276.9 kB / 473.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1126, allocations: 46.5 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.1127, allocations: 20.94 kB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1127, allocations: 4 kB / 473.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1127, allocations: 30.56 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1127, allocations: 0 / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000557/0.1133, allocations: 149.3 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.1134, allocations: 81.09 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1135, allocations: 137.8 kB / 473.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1136, allocations: 29.69 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.1136, allocations: 96.08 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1136, allocations: 11.75 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.1137, allocations: 21.7 kB / 473.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1138, allocations: 322.8 kB / 474.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.1139, allocations: 19.98 kB / 474.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.114, allocations: 37.69 kB / 474.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1141, allocations: 56.77 kB / 474.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1141, allocations: 0 / 474.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.1143, allocations: 85.77 kB / 474.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1143, allocations: 7.984 kB / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1144, allocations: 4 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1144, allocations: 4.031 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.1144, allocations: 8 kB / 474.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1145, allocations: 3.938 kB / 474.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.1145, allocations: 7.984 kB / 474.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1145, allocations: 0 / 474.3 MB, free: 9.406 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.424e-05/0.1146, allocations: 122.3 kB / 474.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.1146, allocations: 3.906 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.1149, allocations: 105.5 kB / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1149, allocations: 0 / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1149, allocations: 0 / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1149, allocations: 0 / 474.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.1154, allocations: 358.4 kB / 474.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1154, allocations: 0 / 474.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.1154, allocations: 11.98 kB / 474.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1154, allocations: 8 kB / 474.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1154, allocations: 0 / 474.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1155, allocations: 3.938 kB / 474.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1155, allocations: 0 / 474.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1157, allocations: 183.4 kB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.1157, allocations: 77.11 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1158, allocations: 256 / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.1159, allocations: 11.94 kB / 475.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1159, allocations: 11.98 kB / 475.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1159, allocations: 4 kB / 475.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.116, allocations: 107.2 kB / 475.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.116, allocations: 3.938 kB / 475.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1163, allocations: 23.89 kB / 475.3 MB, free: 8.285 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.001012/0.1173, allocations: 447.5 kB / 475.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.1175, allocations: 47.97 kB / 475.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1175, allocations: 0 / 475.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.1176, allocations: 27.92 kB / 475.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.118, allocations: 19.64 kB / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.1184, allocations: 216.8 kB / 476.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1187, allocations: 0.6887 MB / 476.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.1188, allocations: 11.44 kB / 476.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1188, allocations: 4 kB / 476.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of Templates: time 0.003428/0.1222, allocations: 1.576 MB / 478.4 MB, free: 5.375 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches