Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001196, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001315/0.001315, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2028/0.2028, allocations: 43.52 MB / 314.6 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 73.2 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1012, allocations: 57.8 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00312/0.1044, allocations: 1.694 MB / 442.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1056, allocations: 0.7922 MB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1057, allocations: 0 / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1061, allocations: 43.83 kB / 443.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.1063, allocations: 47.7 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1066, allocations: 91.75 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1068, allocations: 91.7 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1069, allocations: 8.516 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.107, allocations: 43.78 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.1071, allocations: 27.86 kB / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1071, allocations: 4 kB / 444 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1073, allocations: 47.92 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.1073, allocations: 19.91 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.1074, allocations: 31.8 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1076, allocations: 103.6 kB / 444.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1076, allocations: 4 kB / 444.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1076, allocations: 0 / 444.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1076, allocations: 0 / 444.2 MB, free: 3.828 MB / 318.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.0004679/0.1081, allocations: 403 kB / 444.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1081, allocations: 19.89 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1082, allocations: 8.844 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1084, allocations: 204.6 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1084, allocations: 7.938 kB / 444.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1084, allocations: 4 kB / 444.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1086, allocations: 49.67 kB / 444.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1086, allocations: 0 / 444.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1086, allocations: 4 kB / 444.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.1086, allocations: 4 kB / 444.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.1087, allocations: 23.97 kB / 445 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.109, allocations: 288.8 kB / 445.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1092, allocations: 50.69 kB / 445.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.1092, allocations: 28.78 kB / 445.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1093, allocations: 4 kB / 445.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.1095, allocations: 67.39 kB / 445.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.1095, allocations: 0 / 445.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005132/0.11, allocations: 181.1 kB / 445.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.1101, allocations: 55.34 kB / 445.6 MB, free: 2.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1102, allocations: 162.9 kB / 445.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1102, allocations: 25.7 kB / 445.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.1102, allocations: 104.1 kB / 445.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.1103, allocations: 23.66 kB / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.1103, allocations: 29.7 kB / 446 MB, free: 1.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.1104, allocations: 314.8 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.1104, allocations: 19.98 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.452e-05/0.1105, allocations: 33.7 kB / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1106, allocations: 65.7 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1106, allocations: 0 / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001566/0.1108, allocations: 97.52 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1108, allocations: 4 kB / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1108, allocations: 4 kB / 446.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1108, allocations: 3.938 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.1109, allocations: 23.92 kB / 446.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1109, allocations: 0 / 446.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.111, allocations: 4.031 kB / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.111, allocations: 8 kB / 446.5 MB, free: 1.309 MB / 318.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 7.005e-05/0.1111, allocations: 125.8 kB / 446.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1111, allocations: 15.81 kB / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.1111, allocations: 16.66 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1111, allocations: 0 / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1112, allocations: 0 / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1112, allocations: 3.984 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.1115, allocations: 387.3 kB / 447.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1115, allocations: 0 / 447.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.1116, allocations: 11.98 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1116, allocations: 0 / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1116, allocations: 4.375 kB / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1116, allocations: 0 / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1116, allocations: 3.938 kB / 447.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1118, allocations: 212.2 kB / 447.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.1118, allocations: 89 kB / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1118, allocations: 4 kB / 447.4 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1119, allocations: 4.188 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.112, allocations: 4 kB / 447.4 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.112, allocations: 7.922 kB / 447.4 MB, free: 332 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.918e-05/0.1121, allocations: 127.9 kB / 447.5 MB, free: 204 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1121, allocations: 0 / 447.5 MB, free: 204 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1123, allocations: 24 kB / 447.5 MB, free: 180 kB / 318.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.001136/0.1135, allocations: 474.8 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1137, allocations: 63.86 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1137, allocations: 4 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.1138, allocations: 27.92 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1142, allocations: 29.12 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.1147, allocations: 236.9 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.115, allocations: 0.7002 MB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1151, allocations: 15.44 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1151, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of Templates: time 0.003914/0.119, allocations: 1.838 MB / 450.9 MB, free: 12.84 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches