Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 76.53 kB / 19.92 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8867/0.8867, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1302/0.1302, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 406.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.526e-05, allocations: 10.02 kB / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002014/0.002029, allocations: 1.75 MB / 408.7 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003094, allocations: 0.8543 MB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.003177, allocations: 7.938 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.003642, allocations: 307.2 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.00397, allocations: 219.1 kB / 410 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.004274, allocations: 147.5 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.004546, allocations: 247.3 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.004598, allocations: 9.75 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.004747, allocations: 147.6 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.004943, allocations: 203.6 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.004967, allocations: 4 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.005068, allocations: 47.92 kB / 410.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.005198, allocations: 143.6 kB / 411 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.005272, allocations: 67.66 kB / 411 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.005603, allocations: 350.7 kB / 411.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005606, allocations: 0 / 411.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.005607, allocations: 4 kB / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.005612, allocations: 0 / 411.4 MB, free: 13.68 MB / 394.7 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.0006826/0.006295, allocations: 0.6631 MB / 412 MB, free: 12.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.006334, allocations: 12.03 kB / 412.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.006371, allocations: 42.67 kB / 412.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.006427, allocations: 48.61 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.006854, allocations: 393.7 kB / 412.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.006872, allocations: 4.375 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.006884, allocations: 384 / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.007067, allocations: 91.67 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.007076, allocations: 0 / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.007087, allocations: 4 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.007093, allocations: 0 / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.00719, allocations: 39.91 kB / 412.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.007569, allocations: 333.4 kB / 413 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.007798, allocations: 105.2 kB / 413.1 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.007873, allocations: 33.7 kB / 413.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.007891, allocations: 11.94 kB / 413.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.008098, allocations: 113 kB / 413.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.008099, allocations: 0 / 413.2 MB, free: 11.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003948/0.008494, allocations: 213.2 kB / 413.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.008533, allocations: 81.11 kB / 413.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.009641, allocations: 1.046 MB / 414.6 MB, free: 10.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.009658, allocations: 25.7 kB / 414.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.009829, allocations: 236.1 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.009874, allocations: 19.86 kB / 414.9 MB, free: 9.992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.009932, allocations: 29.7 kB / 414.9 MB, free: 9.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.01008, allocations: 370.7 kB / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.01016, allocations: 27.98 kB / 415.3 MB, free: 9.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/0.01025, allocations: 59.41 kB / 415.3 MB, free: 9.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.01041, allocations: 99.34 kB / 415.4 MB, free: 9.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01041, allocations: 0 / 415.4 MB, free: 9.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002675/0.01068, allocations: 181.2 kB / 415.6 MB, free: 9.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.01069, allocations: 8 kB / 415.6 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.0107, allocations: 0 / 415.6 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01071, allocations: 0 / 415.6 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01081, allocations: 27.92 kB / 415.6 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01082, allocations: 0.6875 kB / 415.6 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.01091, allocations: 15.94 kB / 415.7 MB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01092, allocations: 4 kB / 415.7 MB, free: 9.141 MB / 394.7 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.0001958/0.01111, allocations: 229.5 kB / 415.9 MB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.01117, allocations: 59.61 kB / 415.9 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.01149, allocations: 209.7 kB / 416.1 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01149, allocations: 0 / 416.1 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.0115, allocations: 4 kB / 416.2 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.0115, allocations: 3.984 kB / 416.2 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.01176, allocations: 288.6 kB / 416.4 MB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01176, allocations: 4 kB / 416.4 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.0118, allocations: 11.98 kB / 416.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.0118, allocations: 3.938 kB / 416.5 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01182, allocations: 8 kB / 416.5 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01182, allocations: 0 / 416.5 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01182, allocations: 3.938 kB / 416.5 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.01208, allocations: 209.6 kB / 416.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.01217, allocations: 71.53 kB / 416.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.01221, allocations: 4 kB / 416.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.01227, allocations: 8 kB / 416.8 MB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.01231, allocations: 15.91 kB / 416.8 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01232, allocations: 8 kB / 416.8 MB, free: 7.941 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007205/0.01304, allocations: 0.776 MB / 417.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01304, allocations: 0 / 417.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.01333, allocations: 44 kB / 417.6 MB, free: 7.125 MB / 394.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001074/0.0144, allocations: 1.096 MB / 418.7 MB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.01457, allocations: 87.89 kB / 418.8 MB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01458, allocations: 0 / 418.8 MB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.01464, allocations: 39.92 kB / 418.8 MB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01491, allocations: 70.12 kB / 418.9 MB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.01886, allocations: 4.59 MB / 423.5 MB, free: 1.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.01902, allocations: 237.8 kB / 423.7 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.01914, allocations: 54.94 kB / 423.8 MB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.01928, allocations: 152.4 kB / 423.9 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01928, allocations: 0 / 423.9 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.03956, allocations: 9.982 MB / 433.9 MB, free: 6.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.508/6.547, allocations: 7.875 kB / 433.9 MB, free: 6.555 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.51610155031085]