Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.00137, allocations: 110 kB / 18.3 MB, free: 4.836 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.001589/0.001589, allocations: 199.4 kB / 19.23 MB, free: 3.91 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.445/1.445, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2029/0.2029, allocations: 44.18 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.28 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 60.83 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003027/0.1087, allocations: 1.665 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1103, allocations: 0.8534 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1104, allocations: 0 / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.1108, allocations: 59.75 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.1111, allocations: 55.75 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1114, allocations: 103.6 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1116, allocations: 87.7 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1117, allocations: 8 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.1117, allocations: 43.84 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.1118, allocations: 27.8 kB / 472.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1118, allocations: 4 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.538e-05/0.1119, allocations: 35.98 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.112, allocations: 23.91 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.1121, allocations: 35.73 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1123, allocations: 115.9 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1123, allocations: 0 / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1123, allocations: 3.938 kB / 473 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1123, allocations: 0 / 473 MB, free: 11.22 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.0005586/0.1129, allocations: 438.8 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1129, allocations: 8.031 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.113, allocations: 12.75 kB / 473.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1132, allocations: 215.9 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1132, allocations: 4.359 kB / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1133, allocations: 8.125 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1134, allocations: 49.69 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1134, allocations: 0 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1134, allocations: 3.984 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1134, allocations: 4 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.1135, allocations: 15.94 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.1137, allocations: 189.7 kB / 474 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1139, allocations: 50.62 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.114, allocations: 24.78 kB / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.114, allocations: 4 kB / 474 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.1142, allocations: 67.33 kB / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/0.1142, allocations: 0 / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002866/0.1145, allocations: 97.48 kB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1146, allocations: 51.41 kB / 474.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.1148, allocations: 262.9 kB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1149, allocations: 25.7 kB / 474.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.1149, allocations: 116.1 kB / 474.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.115, allocations: 19.83 kB / 474.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.115, allocations: 13.72 kB / 474.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1151, allocations: 326.8 kB / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.1152, allocations: 15.98 kB / 475 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.1153, allocations: 29.66 kB / 475.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1154, allocations: 45.7 kB / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1154, allocations: 256 / 475.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001553/0.1155, allocations: 101.3 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1156, allocations: 7.984 kB / 475.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1156, allocations: 0 / 475.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1156, allocations: 4 kB / 475.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.1157, allocations: 8 kB / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.1157, allocations: 0 / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.1157, allocations: 7.938 kB / 475.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1158, allocations: 8.016 kB / 475.2 MB, free: 8.793 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 0.0001168/0.1159, allocations: 140.6 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.1159, allocations: 19.8 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.116, allocations: 13 kB / 475.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.116, allocations: 4 kB / 475.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.116, allocations: 3.938 kB / 475.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.116, allocations: 0 / 475.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1161, allocations: 197.5 kB / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1161, allocations: 0 / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.1162, allocations: 8 kB / 475.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1162, allocations: 0 / 475.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1162, allocations: 3.984 kB / 475.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1162, allocations: 0 / 475.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1162, allocations: 0 / 475.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.1164, allocations: 116.9 kB / 475.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1165, allocations: 88.92 kB / 475.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1165, allocations: 0 / 475.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.1165, allocations: 4 kB / 475.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1166, allocations: 11.98 kB / 475.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1166, allocations: 4 kB / 475.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1168, allocations: 192.2 kB / 476 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1168, allocations: 3.938 kB / 476 MB, free: 7.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000233/0.117, allocations: 20 kB / 476 MB, free: 7.883 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.0009503/0.118, allocations: 410.1 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.1181, allocations: 47.97 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1182, allocations: 0 / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/0.1182, allocations: 19.94 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1185, allocations: 37.92 kB / 476.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.119, allocations: 292.4 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1193, allocations: 0.708 MB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1194, allocations: 19.42 kB / 477.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1194, allocations: 0 / 477.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of Templates: time 0.003678/0.123, allocations: 1.833 MB / 479.4 MB, free: 4.641 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches