Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007711/0.0007712, allocations: 100.1 kB / 18.01 MB, free: 5.73 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.0008462/0.0008466, allocations: 179.1 kB / 18.91 MB, free: 4.871 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.367/1.367, allocations: 223.3 MB / 243 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.24 MB / 338.3 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003669, allocations: 12 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002069/0.1107, allocations: 1.413 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1121, allocations: 0.8538 MB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.1122, allocations: 0 / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.1125, allocations: 51.86 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.1128, allocations: 55.81 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1131, allocations: 99.7 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1133, allocations: 95.69 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.1134, allocations: 12.22 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.1135, allocations: 35.8 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.1136, allocations: 39.78 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1136, allocations: 7.984 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1137, allocations: 36 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.1138, allocations: 27.91 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.1138, allocations: 61.39 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.114, allocations: 100 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.114, allocations: 0 / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.114, allocations: 0 / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.114, allocations: 0 / 475.8 MB, free: 10.45 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.0005602/0.1146, allocations: 425.1 kB / 476.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1146, allocations: 12.03 kB / 476.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1147, allocations: 12.78 kB / 476.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1149, allocations: 220 kB / 476.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1149, allocations: 384 / 476.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.115, allocations: 8.125 kB / 476.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1151, allocations: 53.67 kB / 476.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1151, allocations: 3.906 kB / 476.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1152, allocations: 3.984 kB / 476.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1152, allocations: 4 kB / 476.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.1153, allocations: 23.92 kB / 476.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.1156, allocations: 292.9 kB / 476.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1158, allocations: 58.67 kB / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.1159, allocations: 20.86 kB / 476.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1159, allocations: 4 kB / 476.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.1161, allocations: 75.31 kB / 477 MB, free: 9.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1161, allocations: 3.938 kB / 477 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005067/0.1166, allocations: 181 kB / 477.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1166, allocations: 51.41 kB / 477.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1169, allocations: 266.9 kB / 477.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1169, allocations: 33.7 kB / 477.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.117, allocations: 112 kB / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.117, allocations: 19.8 kB / 477.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.1171, allocations: 13.72 kB / 477.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1172, allocations: 330.8 kB / 478 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.1173, allocations: 19.98 kB / 478 MB, free: 8.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1174, allocations: 37.7 kB / 478 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1175, allocations: 65.64 kB / 478.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1175, allocations: 0 / 478.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.1177, allocations: 105.5 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1177, allocations: 4 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1178, allocations: 3.938 kB / 478.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1178, allocations: 0 / 478.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.1179, allocations: 19.98 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1179, allocations: 0 / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.1179, allocations: 7.969 kB / 478.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1179, allocations: 4 kB / 478.2 MB, free: 7.766 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 0.0001086/0.1181, allocations: 137.8 kB / 478.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1181, allocations: 16 kB / 478.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.1181, allocations: 21.39 kB / 478.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1181, allocations: 7.922 kB / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1182, allocations: 0 / 478.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1182, allocations: 3.938 kB / 478.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.1187, allocations: 407.2 kB / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1187, allocations: 0 / 478.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1188, allocations: 11.94 kB / 478.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1188, allocations: 0 / 478.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1188, allocations: 11.92 kB / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1188, allocations: 0 / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1188, allocations: 384 / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.119, allocations: 208.3 kB / 479 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.1191, allocations: 88.92 kB / 479.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.1192, allocations: 19.86 kB / 479.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1192, allocations: 4 kB / 479.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1193, allocations: 4 kB / 479.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1193, allocations: 3.984 kB / 479.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1195, allocations: 200.2 kB / 479.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1195, allocations: 7.938 kB / 479.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1198, allocations: 28 kB / 479.4 MB, free: 6.504 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.001119/0.1209, allocations: 453 kB / 479.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.1211, allocations: 63.97 kB / 479.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1211, allocations: 3.938 kB / 479.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.94e-05/0.1211, allocations: 27.98 kB / 479.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1215, allocations: 23.98 kB / 480 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.122, allocations: 352.5 kB / 480.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.1225, allocations: 0.716 MB / 481 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.1225, allocations: 23.42 kB / 481 MB, free: 4.977 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1225, allocations: 0 / 481 MB, free: 4.977 MB / 350.1 MB Notification: Performance of Templates: time 0.003693/0.1262, allocations: 2.022 MB / 483.1 MB, free: 2.961 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches