Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001503/0.001503, allocations: 194 kB / 18.77 MB, free: 4.742 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.43 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.2344/0.2344, allocations: 44.18 MB / 336.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.06 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1024, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003937/0.1064, allocations: 1.76 MB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1078, allocations: 0.8576 MB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.1079, allocations: 4 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1082, allocations: 43.83 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1084, allocations: 43.83 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1087, allocations: 95.77 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1089, allocations: 95.69 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.109, allocations: 8.234 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.1091, allocations: 39.73 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.109e-05/0.1092, allocations: 35.83 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1092, allocations: 4 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1093, allocations: 39.98 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.1094, allocations: 19.92 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.1094, allocations: 35.67 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1096, allocations: 84.11 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1096, allocations: 4 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1096, allocations: 0 / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1096, allocations: 4 kB / 472.3 MB, free: 11.65 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.0005182/0.1102, allocations: 414.9 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1102, allocations: 8.031 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1102, allocations: 12.84 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1105, allocations: 208.8 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1105, allocations: 4.375 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1105, allocations: 4.125 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1107, allocations: 61.61 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1107, allocations: 4 kB / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1107, allocations: 0 / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1107, allocations: 0 / 473.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.1108, allocations: 23.98 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.1111, allocations: 288.8 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1113, allocations: 62.61 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.1114, allocations: 20.86 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1114, allocations: 0 / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.1116, allocations: 71.38 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1116, allocations: 0 / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005383/0.1122, allocations: 173.1 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1122, allocations: 51.41 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1124, allocations: 207.3 kB / 473.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1124, allocations: 25.7 kB / 474 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.1125, allocations: 104.1 kB / 474.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1125, allocations: 23.7 kB / 474.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.1126, allocations: 21.72 kB / 474.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1127, allocations: 326.8 kB / 474.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.1128, allocations: 23.98 kB / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.1129, allocations: 45.58 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.113, allocations: 61.77 kB / 474.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.113, allocations: 0 / 474.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.1132, allocations: 97.53 kB / 474.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1132, allocations: 10.44 kB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1132, allocations: 0 / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1133, allocations: 4 kB / 474.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/0.1134, allocations: 20.02 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1134, allocations: 0 / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.1134, allocations: 11.94 kB / 474.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1134, allocations: 0 / 474.7 MB, free: 9.07 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.648e-05/0.1135, allocations: 129.8 kB / 474.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.1136, allocations: 15.8 kB / 474.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.1136, allocations: 17.41 kB / 474.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1136, allocations: 0 / 474.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1136, allocations: 3.984 kB / 474.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1137, allocations: 7.938 kB / 474.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.1141, allocations: 391.3 kB / 475.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1141, allocations: 384 / 475.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1142, allocations: 8 kB / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1142, allocations: 0 / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1142, allocations: 15.94 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1142, allocations: 0 / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1142, allocations: 3.984 kB / 475.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1144, allocations: 208.2 kB / 475.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.1145, allocations: 85.02 kB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1145, allocations: 7.938 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.1146, allocations: 4 kB / 475.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1147, allocations: 7.984 kB / 475.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1147, allocations: 4 kB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1148, allocations: 152.9 kB / 475.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1148, allocations: 0 / 475.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1151, allocations: 28 kB / 475.8 MB, free: 7.898 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.001092/0.1162, allocations: 473.7 kB / 476.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1164, allocations: 59.91 kB / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1164, allocations: 0 / 476.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.1165, allocations: 27.98 kB / 476.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1169, allocations: 27.64 kB / 476.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1173, allocations: 282.8 kB / 476.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1176, allocations: 0.712 MB / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.1177, allocations: 19.44 kB / 477.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1177, allocations: 8 kB / 477.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of Templates: time 0.003761/0.1214, allocations: 1.91 MB / 479.3 MB, free: 4.523 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches