Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.00123/0.00123, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.347/1.347, allocations: 222.9 MB / 242.5 MB, free: 13.65 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.2266/0.2266, allocations: 44.17 MB / 336.8 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 72.36 kB / 408.4 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 60.83 MB / 469.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003386/0.1121, allocations: 1.757 MB / 470.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1136, allocations: 0.8614 MB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.1138, allocations: 4 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.1141, allocations: 35.88 kB / 471.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1144, allocations: 63.75 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.1148, allocations: 98.77 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.115, allocations: 87.75 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1151, allocations: 12.23 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.1152, allocations: 39.78 kB / 472.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.1153, allocations: 35.78 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1153, allocations: 0 / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1155, allocations: 43.98 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.1155, allocations: 27.86 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.1156, allocations: 39.72 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1158, allocations: 80.12 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1158, allocations: 0 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1158, allocations: 4 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1158, allocations: 0 / 472.4 MB, free: 11.59 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.0006318/0.1164, allocations: 422.9 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1165, allocations: 8.031 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.1165, allocations: 16.75 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1168, allocations: 216.5 kB / 473 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1168, allocations: 12.36 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1169, allocations: 4.125 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.117, allocations: 57.61 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.117, allocations: 4 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1171, allocations: 0 / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1171, allocations: 0 / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.874e-05/0.1172, allocations: 19.98 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.1175, allocations: 304.7 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1177, allocations: 58.67 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.1178, allocations: 16.86 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1178, allocations: 4 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.1181, allocations: 75.31 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.1181, allocations: 0 / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005964/0.1187, allocations: 173.3 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1187, allocations: 55.34 kB / 473.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1189, allocations: 222.7 kB / 474 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.119, allocations: 25.7 kB / 474 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.119, allocations: 116 kB / 474.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.1191, allocations: 31.64 kB / 474.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.1191, allocations: 21.72 kB / 474.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1193, allocations: 326.8 kB / 474.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.1193, allocations: 19.98 kB / 474.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.1194, allocations: 37.7 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1196, allocations: 61.72 kB / 474.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1196, allocations: 4 kB / 474.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.1198, allocations: 101.6 kB / 474.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1198, allocations: 4 kB / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1198, allocations: 0 / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1198, allocations: 7.938 kB / 474.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.1199, allocations: 19.92 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1199, allocations: 0 / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.12, allocations: 11.94 kB / 474.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.12, allocations: 0 / 474.8 MB, free: 8.938 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.0001109/0.1201, allocations: 133.9 kB / 474.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1202, allocations: 16.19 kB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.1202, allocations: 21.38 kB / 474.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1202, allocations: 4 kB / 474.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1202, allocations: 0 / 474.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1202, allocations: 8.125 kB / 475 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.1207, allocations: 387.3 kB / 475.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1207, allocations: 7.969 kB / 475.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.1207, allocations: 8 kB / 475.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1207, allocations: 7.984 kB / 475.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1208, allocations: 3.938 kB / 475.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1208, allocations: 3.938 kB / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1208, allocations: 0 / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.121, allocations: 212.2 kB / 475.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.1211, allocations: 81.02 kB / 475.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1211, allocations: 7.938 kB / 475.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.1212, allocations: 7.984 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1212, allocations: 4 kB / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1213, allocations: 4 kB / 475.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1214, allocations: 176.3 kB / 475.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1214, allocations: 0 / 475.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1217, allocations: 20 kB / 475.9 MB, free: 7.742 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.001069/0.1228, allocations: 466.9 kB / 476.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1229, allocations: 59.95 kB / 476.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.123, allocations: 64 / 476.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.123, allocations: 39.92 kB / 476.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1234, allocations: 21.81 kB / 476.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.1239, allocations: 322.3 kB / 476.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1243, allocations: 0.7083 MB / 477.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.1243, allocations: 19.42 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1243, allocations: 7.875 kB / 477.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004273/0.1286, allocations: 1.961 MB / 479.4 MB, free: 4.281 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches