Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.00137/0.00137, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.309/1.309, allocations: 222.9 MB / 242.6 MB, free: 15.27 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.2054/0.2054, allocations: 44.16 MB / 336.9 MB, free: 2.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 61.03 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.09959, allocations: 60.83 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.0031/0.1027, allocations: 1.664 MB / 471 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007123/0.1035, allocations: 431.1 kB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.1035, allocations: 0 / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.1038, allocations: 31.91 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.104, allocations: 31.91 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1043, allocations: 99.81 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.1045, allocations: 87.75 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1046, allocations: 28.27 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.1046, allocations: 23.92 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.1047, allocations: 39.83 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1048, allocations: 4 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1049, allocations: 47.94 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1049, allocations: 15.92 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.105, allocations: 43.72 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1051, allocations: 75.84 kB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1051, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1051, allocations: 4 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1052, allocations: 0 / 472 MB, free: 12.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004384/0.1056, allocations: 399.2 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1056, allocations: 8.031 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.1057, allocations: 8.844 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1059, allocations: 208 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1059, allocations: 4.375 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.106, allocations: 4.375 kB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1061, allocations: 81.78 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1062, allocations: 0 / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1062, allocations: 4 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1062, allocations: 4 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1063, allocations: 39.97 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1068, allocations: 328.6 kB / 473.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.107, allocations: 66.56 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.1071, allocations: 24.84 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1071, allocations: 7.984 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1072, allocations: 42.48 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1072, allocations: 3.938 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001213/0.1084, allocations: 317.2 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1084, allocations: 51.41 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1086, allocations: 153.8 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1086, allocations: 29.7 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.1087, allocations: 112 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1087, allocations: 43.36 kB / 473.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.1088, allocations: 21.72 kB / 473.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1089, allocations: 322.8 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.109, allocations: 43.97 kB / 474.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.1091, allocations: 46.72 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.1094, allocations: 116.8 kB / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1094, allocations: 0 / 474.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002697/0.1096, allocations: 149.5 kB / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1097, allocations: 7.984 kB / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1097, allocations: 7.875 kB / 474.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1097, allocations: 0 / 474.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1098, allocations: 27.98 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.1099, allocations: 3.938 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.1099, allocations: 8 kB / 474.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.11, allocations: 4 kB / 474.6 MB, free: 9.207 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 (13): * Single equations (assignments): 13 * 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 0.0001161/0.1101, allocations: 121.8 kB / 474.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1101, allocations: 11.91 kB / 474.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.1105, allocations: 189 kB / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.1105, allocations: 0 / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1105, allocations: 0 / 474.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1105, allocations: 4 kB / 475 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.1111, allocations: 499 kB / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1112, allocations: 0 / 475.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.1113, allocations: 27.98 kB / 475.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1113, allocations: 3.984 kB / 475.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1113, allocations: 11.97 kB / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1113, allocations: 0 / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1113, allocations: 0 / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1116, allocations: 256 kB / 475.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.1117, allocations: 85.02 kB / 475.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1117, allocations: 4 kB / 475.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.1118, allocations: 11.98 kB / 475.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1118, allocations: 11.98 kB / 475.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.1119, allocations: 4 kB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.549e-05/0.112, allocations: 121.9 kB / 476 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.112, allocations: 0 / 476 MB, free: 7.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1122, allocations: 23.94 kB / 476 MB, free: 7.738 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001026/0.1133, allocations: 459.9 kB / 476.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.1136, allocations: 119.6 kB / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1136, allocations: 0 / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1137, allocations: 67.91 kB / 476.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1141, allocations: 15.98 kB / 476.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.1146, allocations: 332.6 kB / 477 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1149, allocations: 0.7041 MB / 477.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.1149, allocations: 19.42 kB / 477.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1149, allocations: 0 / 477.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of Templates: time 0.003674/0.1186, allocations: 1.964 MB / 479.6 MB, free: 4.203 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches