Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.0007295/0.0007295, 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.0008325/0.0008325, 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.8486/0.8486, allocations: 158.6 MB / 185 MB, free: 3.039 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.1388/0.1388, 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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 406.9 MB, free: 2.145 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.091e-05, allocations: 6.078 kB / 406.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002246/0.002267, allocations: 1.676 MB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.003253, allocations: 0.7764 MB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.003322, allocations: 4 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.003616, allocations: 43.7 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.003811, allocations: 55.69 kB / 409.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.00401, allocations: 79.72 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.004153, allocations: 107.7 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.004237, allocations: 4.172 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.004311, allocations: 51.84 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.004382, allocations: 31.89 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.0044, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.004482, allocations: 39.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.004534, allocations: 19.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.004573, allocations: 19.92 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004739, allocations: 111.6 kB / 409.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004742, allocations: 7.938 kB / 409.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004743, allocations: 4 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.004747, allocations: 3.938 kB / 410 MB, free: 15.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004224/0.005169, allocations: 325.7 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.005207, allocations: 8.031 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.005243, allocations: 34.75 kB / 410.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.005276, allocations: 12.89 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.005467, allocations: 145.5 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.005478, allocations: 384 / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.005497, allocations: 4.375 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.005612, allocations: 57.98 kB / 410.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.005623, allocations: 7.938 kB / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.005631, allocations: 0 / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005636, allocations: 4 kB / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.005685, allocations: 23.98 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.006215, allocations: 247.9 kB / 410.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.006329, allocations: 66.66 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.006361, allocations: 24.78 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.006375, allocations: 0 / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.006494, allocations: 71.39 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.006495, allocations: 0 / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003998/0.006895, allocations: 185.3 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.006925, allocations: 51.41 kB / 411.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007042, allocations: 174.3 kB / 411.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.007054, allocations: 33.7 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.007099, allocations: 96.14 kB / 411.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.007124, allocations: 27.77 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.007156, allocations: 29.66 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.007235, allocations: 322.8 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.007272, allocations: 27.98 kB / 411.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.007316, allocations: 37.7 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/0.007394, allocations: 65.64 kB / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007395, allocations: 0 / 412 MB, free: 12.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001169/0.007512, allocations: 101.6 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.007525, allocations: 8 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00753, allocations: 80 / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.007543, allocations: 192 / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/0.007613, allocations: 16 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.007623, allocations: 15.94 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.007655, allocations: 4 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.007662, allocations: 4 kB / 412.1 MB, free: 12.69 MB / 394.7 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 7.225e-05/0.007734, allocations: 121.8 kB / 412.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.007746, allocations: 7.953 kB / 412.3 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.007904, allocations: 122.4 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.007908, allocations: 4 kB / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.007914, allocations: 0 / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.007918, allocations: 0 / 412.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.008209, allocations: 374.3 kB / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.008212, allocations: 3.984 kB / 412.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.008237, allocations: 15.94 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008239, allocations: 0 / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.008247, allocations: 384 / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.00825, allocations: 4 kB / 412.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.008252, allocations: 7.938 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.008396, allocations: 208.3 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.008407, allocations: 7.953 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.008424, allocations: 8 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.008461, allocations: 4.031 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.008494, allocations: 11.92 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.008508, allocations: 4 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.156e-05/0.00858, allocations: 136 kB / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00858, allocations: 0 / 413.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.008765, allocations: 31.89 kB / 413.2 MB, free: 11.56 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: 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 (9): * Single equations (assignments): 7 * 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.00101/0.009775, allocations: 1.128 MB / 414.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.009928, allocations: 59.91 kB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.00993, allocations: 0 / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.009978, allocations: 31.94 kB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01023, allocations: 36.16 kB / 414.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.01143, allocations: 1.626 MB / 416.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.739e-05/0.0115, allocations: 85.44 kB / 416.2 MB, free: 8.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01154, allocations: 12.48 kB / 416.2 MB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.0116, allocations: 36.48 kB / 416.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0116, allocations: 0 / 416.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.02772, allocations: 4.157 MB / 420.4 MB, free: 4.148 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.432/6.459, allocations: 7.906 kB / 420.4 MB, free: 4.141 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.424845568835735]