Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107.1 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.001199/0.001199, allocations: 188.1 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.37/1.37, allocations: 222.9 MB / 243 MB, free: 15.14 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.2286/0.2286, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 61.66 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 60.84 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002798/0.1058, allocations: 1.695 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1071, allocations: 0.8808 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.1071, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1074, allocations: 35.83 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1076, allocations: 59.7 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1079, allocations: 111.4 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.108, allocations: 99.67 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.436e-05/0.1081, allocations: 8.234 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.1082, allocations: 39.8 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.1083, allocations: 31.83 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1083, allocations: 8 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.1084, allocations: 40 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.1084, allocations: 15.92 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.1085, allocations: 39.72 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1087, allocations: 123.6 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1087, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1087, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1087, allocations: 0 / 473.9 MB, free: 10.44 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.0004558/0.1092, allocations: 399 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1092, allocations: 8.031 kB / 474.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.1093, allocations: 20.83 kB / 474.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1095, allocations: 204 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1095, allocations: 4.375 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1096, allocations: 4.125 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1097, allocations: 61.59 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1097, allocations: 0 / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1098, allocations: 7.984 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1098, allocations: 3.938 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.1098, allocations: 23.98 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.1102, allocations: 292.9 kB / 474.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.1103, allocations: 54.62 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.1104, allocations: 20.84 kB / 475 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1104, allocations: 3.938 kB / 475 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.1106, allocations: 67.39 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1106, allocations: 4 kB / 475 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004778/0.1111, allocations: 173.2 kB / 475.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1111, allocations: 51.41 kB / 475.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1113, allocations: 186.2 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.1114, allocations: 29.7 kB / 475.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.1114, allocations: 100.1 kB / 475.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1114, allocations: 27.64 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1115, allocations: 17.72 kB / 475.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1116, allocations: 330.8 kB / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.1117, allocations: 19.98 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.1118, allocations: 37.64 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1119, allocations: 65.7 kB / 476.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1119, allocations: 0 / 476.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1121, allocations: 101.4 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1121, allocations: 11.28 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1121, allocations: 0 / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1121, allocations: 0 / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.1122, allocations: 19.98 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1122, allocations: 4 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.1123, allocations: 3.938 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1123, allocations: 4.031 kB / 476.2 MB, free: 7.895 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 9.706e-05/0.1124, allocations: 133.8 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1124, allocations: 7.906 kB / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.1125, allocations: 16.72 kB / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1125, allocations: 0 / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1125, allocations: 0 / 476.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.1125, allocations: 7.922 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.1129, allocations: 391.3 kB / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1129, allocations: 384 / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.113, allocations: 12.19 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.113, allocations: 0 / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.113, allocations: 11.88 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.113, allocations: 4 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.113, allocations: 3.938 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.1133, allocations: 208.2 kB / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.1134, allocations: 89.02 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.1134, allocations: 3.938 kB / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.1135, allocations: 0 / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1135, allocations: 7.984 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1135, allocations: 8 kB / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1137, allocations: 147.2 kB / 477.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1137, allocations: 0 / 477.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.114, allocations: 24 kB / 477.3 MB, free: 6.73 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.001052/0.115, allocations: 457 kB / 477.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.1152, allocations: 63.91 kB / 477.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1152, allocations: 64 / 477.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.1153, allocations: 31.92 kB / 477.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1157, allocations: 31.64 kB / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.1161, allocations: 223.1 kB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1164, allocations: 0.7002 MB / 478.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.1165, allocations: 25.23 kB / 478.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1166, allocations: 19.42 kB / 478.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1166, allocations: 4 kB / 478.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of Templates: time 0.004367/0.1209, allocations: 1.7 MB / 480.5 MB, free: 3.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches