Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.001173/0.001173, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.369/1.369, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2015/0.2015, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.25 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003292/0.1084, allocations: 1.653 MB / 471.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1099, allocations: 0.8573 MB / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.11, allocations: 0 / 472.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.1104, allocations: 67.73 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.1107, allocations: 71.72 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.111, allocations: 111 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1112, allocations: 95.69 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.1113, allocations: 4 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1114, allocations: 43.84 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1115, allocations: 43.78 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1115, allocations: 7.984 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1117, allocations: 27.98 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.1117, allocations: 15.92 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.1118, allocations: 31.81 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.112, allocations: 99.92 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.112, allocations: 3.984 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.112, allocations: 3.938 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1121, allocations: 0 / 473.1 MB, free: 11.23 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.0006079/0.1127, allocations: 399 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1127, allocations: 8.031 kB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.1128, allocations: 8.844 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.113, allocations: 208.1 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1131, allocations: 4.375 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1131, allocations: 8.125 kB / 473.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1132, allocations: 49.67 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1132, allocations: 0 / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1133, allocations: 3.984 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1133, allocations: 0 / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.1133, allocations: 19.92 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.1136, allocations: 193.5 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1137, allocations: 50.62 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.1138, allocations: 24.78 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1139, allocations: 3.938 kB / 474 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.1141, allocations: 67.33 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.1141, allocations: 0 / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002963/0.1144, allocations: 97.58 kB / 474.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.1144, allocations: 51.41 kB / 474.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1146, allocations: 190.1 kB / 474.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1147, allocations: 25.7 kB / 474.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.1147, allocations: 104.1 kB / 474.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.1148, allocations: 11.81 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.1148, allocations: 17.72 kB / 474.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.115, allocations: 326.8 kB / 474.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.115, allocations: 15.98 kB / 474.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.1151, allocations: 29.66 kB / 474.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.72e-05/0.1152, allocations: 45.95 kB / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1152, allocations: 0 / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001591/0.1154, allocations: 89.45 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1154, allocations: 8.031 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1154, allocations: 0 / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1154, allocations: 0 / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.1155, allocations: 12 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1155, allocations: 0 / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.1156, allocations: 0 / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1156, allocations: 8 kB / 475.1 MB, free: 8.953 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.0001177/0.1157, allocations: 125.8 kB / 475.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1157, allocations: 7.906 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.1158, allocations: 20.3 kB / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1158, allocations: 4 kB / 475.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1158, allocations: 3.938 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1158, allocations: 0 / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.116, allocations: 185.5 kB / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.116, allocations: 0 / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.116, allocations: 4 kB / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.116, allocations: 0 / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1161, allocations: 4 kB / 475.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1161, allocations: 3.984 kB / 475.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1161, allocations: 160 / 475.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1163, allocations: 108.9 kB / 475.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.1163, allocations: 92.94 kB / 475.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1164, allocations: 4 kB / 475.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.1164, allocations: 3.938 kB / 475.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.1164, allocations: 4.125 kB / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1164, allocations: 11.98 kB / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1166, allocations: 135.2 kB / 475.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1166, allocations: 7.938 kB / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1168, allocations: 20 kB / 475.8 MB, free: 8.121 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.0009578/0.1178, allocations: 408 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.1179, allocations: 39.98 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.118, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.065e-05/0.118, allocations: 19.94 kB / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1183, allocations: 39.28 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.1188, allocations: 228 kB / 476.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1191, allocations: 0.7041 MB / 477.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.1192, allocations: 15.44 kB / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1192, allocations: 0 / 477.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Templates: time 0.003747/0.1229, allocations: 1.67 MB / 478.9 MB, free: 5.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches