Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 104.4 kB / 17.98 MB, free: 5.367 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.001192/0.001192, allocations: 189.4 kB / 18.9 MB, free: 4.449 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.312/1.312, allocations: 222.9 MB / 242.6 MB, free: 15.38 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.2069/0.2069, allocations: 44.18 MB / 336.9 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 59.28 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003015/0.1087, allocations: 1.757 MB / 471.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1106, allocations: 1.456 MB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.1106, allocations: 4 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1109, allocations: 35.84 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1111, allocations: 47.83 kB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1114, allocations: 95.83 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1116, allocations: 99.62 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.1117, allocations: 8.234 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.1117, allocations: 43.78 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1119, allocations: 39.84 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1119, allocations: 4 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.112, allocations: 67.95 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.1121, allocations: 23.8 kB / 473.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.1121, allocations: 31.8 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1123, allocations: 92.09 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1123, allocations: 0 / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1123, allocations: 0 / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1123, allocations: 0 / 473.2 MB, free: 10.89 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.0004918/0.1128, allocations: 403.1 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1129, allocations: 8.031 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.1129, allocations: 12.84 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1131, allocations: 211 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1131, allocations: 4.375 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1132, allocations: 8.125 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1133, allocations: 67.33 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1133, allocations: 0 / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1134, allocations: 4 kB / 473.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1134, allocations: 0 / 473.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.1134, allocations: 19.98 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.1138, allocations: 280.9 kB / 474.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1139, allocations: 62.61 kB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.114, allocations: 16.86 kB / 474.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.114, allocations: 7.984 kB / 474.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.1142, allocations: 67.39 kB / 474.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1142, allocations: 0 / 474.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005013/0.1147, allocations: 169.5 kB / 474.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1148, allocations: 81.09 kB / 474.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1149, allocations: 153.8 kB / 474.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.115, allocations: 25.7 kB / 474.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.115, allocations: 100.1 kB / 474.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.115, allocations: 19.72 kB / 474.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1151, allocations: 29.7 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1152, allocations: 330.7 kB / 475.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.1153, allocations: 16.06 kB / 475.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.1153, allocations: 42.56 kB / 475.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1155, allocations: 65.72 kB / 475.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1155, allocations: 0 / 475.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001827/0.1157, allocations: 101.5 kB / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1157, allocations: 8.172 kB / 475.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1157, allocations: 0 / 475.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1157, allocations: 3.938 kB / 475.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.1158, allocations: 16 kB / 475.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1158, allocations: 3.938 kB / 475.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.1159, allocations: 15.91 kB / 475.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1159, allocations: 3.984 kB / 475.5 MB, free: 8.332 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 8.739e-05/0.116, allocations: 121.8 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.116, allocations: 7.906 kB / 475.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.1161, allocations: 12.72 kB / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1161, allocations: 3.984 kB / 475.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1161, allocations: 0 / 475.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1161, allocations: 3.938 kB / 475.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.1165, allocations: 387.3 kB / 476 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1165, allocations: 4 kB / 476 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.1165, allocations: 4 kB / 476 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1165, allocations: 4 kB / 476 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1166, allocations: 11.92 kB / 476 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1166, allocations: 0 / 476 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1166, allocations: 4 kB / 476 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1168, allocations: 208.4 kB / 476.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.1169, allocations: 85.02 kB / 476.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1169, allocations: 11.94 kB / 476.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.117, allocations: 3.984 kB / 476.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.117, allocations: 4 kB / 476.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.117, allocations: 7.938 kB / 476.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.703e-05/0.1171, allocations: 121.7 kB / 476.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1171, allocations: 0 / 476.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1174, allocations: 35.98 kB / 476.5 MB, free: 7.203 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.001046/0.1185, allocations: 0.4911 MB / 477 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1186, allocations: 59.91 kB / 477.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1187, allocations: 0 / 477.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.1187, allocations: 35.92 kB / 477.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1191, allocations: 19.98 kB / 477.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.1195, allocations: 240.7 kB / 477.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1197, allocations: 0.6962 MB / 478 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.1198, allocations: 23.42 kB / 478.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1198, allocations: 0 / 478.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Templates: time 0.003639/0.1234, allocations: 2.068 MB / 480.1 MB, free: 3.723 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches