Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001068/0.001068, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.287/1.287, allocations: 222.9 MB / 242.6 MB, free: 13.74 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.2284/0.2284, allocations: 44.17 MB / 336.9 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.28 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 60.84 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003189/0.1111, allocations: 1.842 MB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1127, allocations: 0.9472 MB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1128, allocations: 0 / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.1134, allocations: 291.4 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.1139, allocations: 203.5 kB / 472.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.1144, allocations: 154.4 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.1148, allocations: 247.4 kB / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.8e-05/0.1149, allocations: 17.53 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.1151, allocations: 131.5 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1153, allocations: 199.5 kB / 473.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1153, allocations: 7.938 kB / 473.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1155, allocations: 47.97 kB / 473.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.1156, allocations: 135.6 kB / 473.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1158, allocations: 150.8 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1161, allocations: 279.9 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1161, allocations: 0 / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1161, allocations: 4 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.1162, allocations: 0 / 474 MB, free: 10.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009835/0.1172, allocations: 0.7268 MB / 474.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1172, allocations: 8.031 kB / 474.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/0.1173, allocations: 48.28 kB / 474.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.1179, allocations: 451.9 kB / 475.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1179, allocations: 384 / 475.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1179, allocations: 8.125 kB / 475.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1182, allocations: 95.28 kB / 475.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1182, allocations: 0 / 475.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1182, allocations: 0 / 475.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1182, allocations: 4 kB / 475.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1183, allocations: 27.98 kB / 475.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.1188, allocations: 374.4 kB / 475.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.1191, allocations: 105.2 kB / 475.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1192, allocations: 49.62 kB / 475.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1192, allocations: 4 kB / 475.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.1195, allocations: 112.9 kB / 476 MB, free: 7.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1195, allocations: 0 / 476 MB, free: 7.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005345/0.1201, allocations: 193 kB / 476.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1201, allocations: 81.11 kB / 476.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009854/0.1211, allocations: 1.03 MB / 477.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1211, allocations: 37.7 kB / 477.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1213, allocations: 228.1 kB / 477.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.1214, allocations: 31.55 kB / 477.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.1214, allocations: 33.7 kB / 477.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1216, allocations: 362.8 kB / 478 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.1217, allocations: 27.98 kB / 478 MB, free: 5.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1218, allocations: 66.67 kB / 478.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.122, allocations: 95.84 kB / 478.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.122, allocations: 3.938 kB / 478.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002811/0.1223, allocations: 164.9 kB / 478.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1223, allocations: 4 kB / 478.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1223, allocations: 12 kB / 478.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1223, allocations: 0 / 478.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1225, allocations: 23.98 kB / 478.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1225, allocations: 0 / 478.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.525e-05/0.1226, allocations: 15.89 kB / 478.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1226, allocations: 4 kB / 478.4 MB, free: 5.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002154/0.1228, allocations: 230.1 kB / 478.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.1229, allocations: 59.33 kB / 478.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.123, allocations: 60 kB / 478.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.123, allocations: 4 kB / 478.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.123, allocations: 0 / 478.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.123, allocations: 0 / 478.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.1233, allocations: 345.4 kB / 479.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1233, allocations: 0 / 479.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.1234, allocations: 4 kB / 479.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1234, allocations: 4 kB / 479.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1234, allocations: 0 / 479.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1234, allocations: 4 kB / 479.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1234, allocations: 0 / 479.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1237, allocations: 209.2 kB / 479.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1238, allocations: 136.5 kB / 479.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.1239, allocations: 128 / 479.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.124, allocations: 8 kB / 479.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.124, allocations: 11.98 kB / 479.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1241, allocations: 11.98 kB / 479.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007133/0.1248, allocations: 0.7721 MB / 480.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1248, allocations: 0 / 480.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1251, allocations: 40 kB / 480.3 MB, free: 3.453 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009298/0.126, allocations: 409.3 kB / 480.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1263, allocations: 83.91 kB / 480.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1263, allocations: 128 / 480.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1264, allocations: 44.3 kB / 480.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.1268, allocations: 74.7 kB / 480.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1281, allocations: 1.009 MB / 481.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1285, allocations: 0.8426 MB / 482.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.1285, allocations: 31.42 kB / 482.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1285, allocations: 0 / 482.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Templates: time 0.008372/0.1369, allocations: 5.062 MB / 487.8 MB, free: 12 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches