Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001228/0.001228, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.375/1.375, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.216/0.216, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 63.16 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1028, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002901/0.1058, allocations: 1.66 MB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.107, allocations: 0.8497 MB / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.1071, allocations: 0 / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1074, allocations: 87.69 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1077, allocations: 79.73 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1079, allocations: 107.2 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1081, allocations: 107.6 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.1082, allocations: 7.984 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.1083, allocations: 39.84 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1084, allocations: 55.77 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.1084, allocations: 4 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.1085, allocations: 39.97 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.1085, allocations: 19.94 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.1086, allocations: 31.73 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1088, allocations: 107.9 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1088, allocations: 4 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1088, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1088, allocations: 0 / 473.1 MB, free: 11.16 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.0004917/0.1093, allocations: 402.9 kB / 473.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1093, allocations: 12.03 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1094, allocations: 8.844 kB / 473.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1096, allocations: 220 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1096, allocations: 384 / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.1097, allocations: 4.125 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1098, allocations: 57.61 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1098, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1098, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1098, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.1099, allocations: 15.98 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.1101, allocations: 181.7 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1103, allocations: 54.62 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1103, allocations: 24.78 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1104, allocations: 3.938 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.1105, allocations: 59.39 kB / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1106, allocations: 0 / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002767/0.1108, allocations: 97.77 kB / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1109, allocations: 55.34 kB / 474.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1111, allocations: 211.5 kB / 474.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.1111, allocations: 33.7 kB / 474.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.1112, allocations: 104.1 kB / 474.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.1112, allocations: 15.81 kB / 474.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1113, allocations: 17.72 kB / 474.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1114, allocations: 326.8 kB / 475 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.786e-05/0.1114, allocations: 20.05 kB / 475 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.1115, allocations: 29.7 kB / 475 MB, free: 9.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-05/0.1116, allocations: 41.72 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1116, allocations: 0 / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001627/0.1118, allocations: 89.44 kB / 475.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1118, allocations: 15.97 kB / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1118, allocations: 0 / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1118, allocations: 0 / 475.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.1119, allocations: 8 kB / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1119, allocations: 0 / 475.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.112, allocations: 11.84 kB / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.112, allocations: 4 kB / 475.2 MB, free: 8.844 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 9.935e-05/0.1121, allocations: 133.7 kB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1121, allocations: 11.91 kB / 475.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.1122, allocations: 16.98 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1122, allocations: 0 / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1122, allocations: 0 / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1122, allocations: 0 / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1123, allocations: 193.6 kB / 475.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1123, allocations: 0 / 475.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.1124, allocations: 4 kB / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1124, allocations: 0 / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1124, allocations: 4 kB / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1124, allocations: 0 / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1124, allocations: 0 / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.1126, allocations: 120.9 kB / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.1126, allocations: 85.02 kB / 475.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1127, allocations: 4 kB / 475.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.1127, allocations: 7.984 kB / 475.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.1128, allocations: 3.938 kB / 475.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1128, allocations: 4 kB / 475.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1129, allocations: 160.2 kB / 475.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1129, allocations: 4 kB / 475.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1131, allocations: 20 kB / 476 MB, free: 7.992 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.0009069/0.1141, allocations: 410.4 kB / 476.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.1142, allocations: 47.92 kB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1142, allocations: 0 / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.1143, allocations: 16 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.1146, allocations: 35.97 kB / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.115, allocations: 243.8 kB / 476.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1153, allocations: 0.708 MB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1153, allocations: 15.44 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1153, allocations: 0 / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of Templates: time 0.003483/0.1188, allocations: 1.735 MB / 479.2 MB, free: 4.902 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches