Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.0007909/0.0007909, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008273/0.0008273, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8436/0.8436, allocations: 158.6 MB / 185 MB, free: 3.023 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.1334/0.1334, 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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 406.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.013e-05, allocations: 10.08 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002144/0.002164, allocations: 1.75 MB / 408.7 MB, free: 416 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.00316, allocations: 0.8543 MB / 409.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.00324, allocations: 7.938 kB / 409.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.00369, allocations: 303.2 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.004008, allocations: 219.2 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.004301, allocations: 147.5 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.004568, allocations: 251.2 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.004619, allocations: 9.797 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.004773, allocations: 143.7 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.005229, allocations: 203.6 kB / 410.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.005254, allocations: 4 kB / 410.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.005348, allocations: 55.84 kB / 410.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.005457, allocations: 135.6 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.005527, allocations: 75.64 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.005824, allocations: 346.8 kB / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005827, allocations: 0 / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.005829, allocations: 4 kB / 411.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.005835, allocations: 0 / 411.4 MB, free: 13.67 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.0006682/0.006503, allocations: 0.6631 MB / 412 MB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.006542, allocations: 11.97 kB / 412.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.006574, allocations: 38.75 kB / 412.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.006634, allocations: 48.61 kB / 412.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.007068, allocations: 389.7 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.007083, allocations: 8.375 kB / 412.5 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.007095, allocations: 4.359 kB / 412.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.007257, allocations: 87.69 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.007264, allocations: 0 / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.007276, allocations: 11.97 kB / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.00728, allocations: 0 / 412.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.007351, allocations: 35.92 kB / 412.7 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.00762, allocations: 325.5 kB / 413 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.007796, allocations: 105.2 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.007854, allocations: 41.69 kB / 413.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.007868, allocations: 0 / 413.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.008029, allocations: 117 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.00803, allocations: 3.938 kB / 413.2 MB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003174/0.008348, allocations: 209.5 kB / 413.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.008385, allocations: 81.05 kB / 413.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/0.009113, allocations: 1.054 MB / 414.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.009127, allocations: 25.7 kB / 414.6 MB, free: 10.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.009245, allocations: 236.1 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.00928, allocations: 23.84 kB / 414.9 MB, free: 9.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.009318, allocations: 29.7 kB / 414.9 MB, free: 9.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.009423, allocations: 366.8 kB / 415.2 MB, free: 9.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.698e-05/0.00948, allocations: 27.98 kB / 415.3 MB, free: 9.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.009542, allocations: 59.41 kB / 415.3 MB, free: 9.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.009655, allocations: 95.36 kB / 415.4 MB, free: 9.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009657, allocations: 0 / 415.4 MB, free: 9.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00019/0.009847, allocations: 181.2 kB / 415.6 MB, free: 9.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.009859, allocations: 4 kB / 415.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.009864, allocations: 4 kB / 415.6 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.009877, allocations: 0 / 415.6 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.009962, allocations: 27.92 kB / 415.6 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.009967, allocations: 0 / 415.6 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.01003, allocations: 19.98 kB / 415.7 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.01004, allocations: 7.938 kB / 415.7 MB, free: 9.125 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.0001489/0.01019, allocations: 218.1 kB / 415.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.01023, allocations: 63.53 kB / 415.9 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.01047, allocations: 213.7 kB / 416.2 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01048, allocations: 0 / 416.2 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01048, allocations: 4 kB / 416.2 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01048, allocations: 0 / 416.2 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.01068, allocations: 288.6 kB / 416.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01068, allocations: 4 kB / 416.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.01071, allocations: 15.94 kB / 416.5 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01071, allocations: 3.938 kB / 416.5 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01072, allocations: 7.984 kB / 416.5 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.01072, allocations: 0 / 416.5 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01072, allocations: 0 / 416.5 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.01092, allocations: 209.6 kB / 416.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.01099, allocations: 71.53 kB / 416.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.01102, allocations: 7.984 kB / 416.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.01106, allocations: 4 kB / 416.8 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.0111, allocations: 11.98 kB / 416.8 MB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.01111, allocations: 11.94 kB / 416.8 MB, free: 7.934 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005343/0.01165, allocations: 0.7799 MB / 417.6 MB, free: 7.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01165, allocations: 0 / 417.6 MB, free: 7.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000198/0.01184, allocations: 44 kB / 417.6 MB, free: 7.113 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.001243/0.01309, allocations: 1.096 MB / 418.7 MB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.01325, allocations: 79.91 kB / 418.8 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01325, allocations: 4.125 kB / 418.8 MB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/0.01332, allocations: 43.91 kB / 418.8 MB, free: 5.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.0136, allocations: 74.12 kB / 418.9 MB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.01746, allocations: 4.582 MB / 423.5 MB, free: 1.129 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.01761, allocations: 241.8 kB / 423.7 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.934e-05/0.0177, allocations: 58.94 kB / 423.8 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.01783, allocations: 148.5 kB / 423.9 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01783, allocations: 0 / 423.9 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.03801, allocations: 9.982 MB / 433.9 MB, free: 6.551 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/6.714, allocations: 7.844 kB / 433.9 MB, free: 6.543 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.711395083926618]