Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.002068/0.002068, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.43/1.43, allocations: 222.9 MB / 243 MB, free: 15.08 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.1968/0.1968, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00278/0.1077, allocations: 1.667 MB / 472.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1089, allocations: 0.8573 MB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.109, allocations: 0 / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1093, allocations: 59.8 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1095, allocations: 71.67 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1098, allocations: 102.9 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1099, allocations: 99.67 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.11, allocations: 4 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.1101, allocations: 43.84 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.196e-05/0.1102, allocations: 51.7 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1102, allocations: 4 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.1103, allocations: 35.98 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.1103, allocations: 15.97 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.1104, allocations: 31.75 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1105, allocations: 103.7 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1106, allocations: 0 / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1106, allocations: 0 / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1106, allocations: 0 / 473.8 MB, free: 10.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004777/0.1111, allocations: 409.9 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1111, allocations: 8.031 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1111, allocations: 8.844 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1114, allocations: 204.2 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1114, allocations: 4.375 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1114, allocations: 8.125 kB / 474.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1115, allocations: 45.67 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1116, allocations: 4 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1116, allocations: 0 / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1116, allocations: 4 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.1117, allocations: 15.94 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.1119, allocations: 193.5 kB / 474.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.112, allocations: 54.62 kB / 474.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.1121, allocations: 28.77 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1121, allocations: 0 / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.1123, allocations: 63.33 kB / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.966e-06/0.1123, allocations: 0 / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002513/0.1125, allocations: 101.5 kB / 475 MB, free: 9.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1126, allocations: 51.41 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1128, allocations: 190.1 kB / 475.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1128, allocations: 29.7 kB / 475.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.1128, allocations: 96.14 kB / 475.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1129, allocations: 15.8 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.1129, allocations: 21.72 kB / 475.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.113, allocations: 322.8 kB / 475.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.732e-05/0.1131, allocations: 15.98 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.538e-05/0.1132, allocations: 33.7 kB / 475.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.1133, allocations: 41.64 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1133, allocations: 0 / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000144/0.1134, allocations: 89.47 kB / 475.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1134, allocations: 7.281 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1134, allocations: 4.031 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1135, allocations: 4 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.1135, allocations: 11.98 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1135, allocations: 0 / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.1136, allocations: 4 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1136, allocations: 0 / 475.9 MB, free: 8.223 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 (7): * Single equations (assignments): 7 * 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 9.044e-05/0.1137, allocations: 125.8 kB / 476 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1137, allocations: 8.219 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.1138, allocations: 16.31 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1138, allocations: 4 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1138, allocations: 4 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1138, allocations: 3.984 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.1139, allocations: 189.5 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1139, allocations: 0 / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.114, allocations: 7.938 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.114, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.114, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.114, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.114, allocations: 0 / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.1142, allocations: 113 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.1142, allocations: 92.89 kB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1142, allocations: 3.984 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.1143, allocations: 7.938 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1143, allocations: 0 / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1143, allocations: 8 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1144, allocations: 139.2 kB / 476.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1144, allocations: 0 / 476.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002023/0.1147, allocations: 16 kB / 476.6 MB, free: 7.398 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000844/0.1155, allocations: 400.8 kB / 477 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1157, allocations: 39.97 kB / 477 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1157, allocations: 0 / 477 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.1157, allocations: 19.94 kB / 477.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.116, allocations: 35.84 kB / 477.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.1163, allocations: 202.3 kB / 477.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.1166, allocations: 0.6924 MB / 478 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.43e-05/0.1166, allocations: 20.52 kB / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1166, allocations: 15.44 kB / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of SimCode: time 1.784e-06/0.1167, allocations: 0 / 478 MB, free: 6.082 MB / 350.1 MB Notification: Performance of Templates: time 0.003788/0.1204, allocations: 1.484 MB / 479.5 MB, free: 4.617 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches