Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001215/0.001215, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.384/1.384, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2121/0.2121, allocations: 44.19 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.03 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.1004, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002916/0.1034, allocations: 1.699 MB / 471.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1047, allocations: 0.8847 MB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.1048, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1051, allocations: 39.78 kB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1053, allocations: 55.73 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1056, allocations: 114.7 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1057, allocations: 95.7 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.1058, allocations: 8.234 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.1059, allocations: 43.78 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.106, allocations: 27.86 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.106, allocations: 4 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.1061, allocations: 39.92 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.1062, allocations: 23.91 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.1062, allocations: 39.73 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1064, allocations: 111.9 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1064, allocations: 0 / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1064, allocations: 0 / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1064, allocations: 0 / 473.1 MB, free: 11.19 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004829/0.1069, allocations: 411 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.107, allocations: 12.03 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.107, allocations: 8.844 kB / 473.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1072, allocations: 215.9 kB / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1072, allocations: 384 / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1073, allocations: 4.125 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1074, allocations: 57.67 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1074, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1075, allocations: 7.984 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1075, allocations: 0 / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.1076, allocations: 23.98 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.1079, allocations: 288.8 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1081, allocations: 54.67 kB / 474.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.1081, allocations: 28.78 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1081, allocations: 0 / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1083, allocations: 67.39 kB / 474.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.1083, allocations: 0 / 474.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005018/0.1088, allocations: 173.5 kB / 474.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1089, allocations: 51.41 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1091, allocations: 190.1 kB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1091, allocations: 29.7 kB / 474.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.1091, allocations: 100.1 kB / 474.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.1092, allocations: 27.64 kB / 474.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.1092, allocations: 21.72 kB / 474.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.1093, allocations: 326.8 kB / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.1094, allocations: 19.98 kB / 475.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.1095, allocations: 41.83 kB / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1096, allocations: 65.77 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1096, allocations: 0 / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.1098, allocations: 101.4 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1098, allocations: 8 kB / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1098, allocations: 0 / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1098, allocations: 0 / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.1099, allocations: 27.92 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1099, allocations: 4.031 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.11, allocations: 3.938 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.11, allocations: 4 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.812e-05/0.1101, allocations: 125.8 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1101, allocations: 11.91 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.1102, allocations: 12.91 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1102, allocations: 0 / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1102, allocations: 3.938 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1102, allocations: 7.938 kB / 475.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.1106, allocations: 391.3 kB / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1106, allocations: 3.984 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.1106, allocations: 8 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1107, allocations: 0 / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1107, allocations: 7.938 kB / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1107, allocations: 0 / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1107, allocations: 3.938 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1109, allocations: 208.2 kB / 476.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.111, allocations: 89 kB / 476.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.111, allocations: 3.938 kB / 476.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.1111, allocations: 4 kB / 476.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1111, allocations: 7.984 kB / 476.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1111, allocations: 4 kB / 476.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1112, allocations: 147.2 kB / 476.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1113, allocations: 0 / 476.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1115, allocations: 23.98 kB / 476.5 MB, free: 7.473 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001029/0.1126, allocations: 462.2 kB / 476.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1128, allocations: 59.97 kB / 477 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1128, allocations: 0 / 477 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.1128, allocations: 36.08 kB / 477 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1132, allocations: 32.05 kB / 477 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.1137, allocations: 260.9 kB / 477.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.114, allocations: 0.7041 MB / 478 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.114, allocations: 15.44 kB / 478 MB, free: 6.035 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.114, allocations: 0 / 478 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Templates: time 0.003614/0.1177, allocations: 1.905 MB / 479.9 MB, free: 4.145 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches