Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.0008284/0.0008284, allocations: 80.53 kB / 19.93 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.0009856/0.0009856, 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.7936/0.7936, 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.1304/0.1304, 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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.139e-05, allocations: 6.078 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002134/0.002156, allocations: 1.684 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000874/0.00303, allocations: 0.7765 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.003095, allocations: 3.938 kB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.003384, allocations: 95.62 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.0036, allocations: 75.72 kB / 409.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.003786, allocations: 87.64 kB / 409.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.003927, allocations: 111.7 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.004012, allocations: 24.06 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.004091, allocations: 59.81 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.004186, allocations: 63.86 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.004202, allocations: 4 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.004273, allocations: 35.98 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.004328, allocations: 35.84 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.004361, allocations: 15.94 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.004527, allocations: 119.5 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00453, allocations: 0 / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004531, allocations: 7.938 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004535, allocations: 0 / 410.1 MB, free: 14.95 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.0003886/0.004923, allocations: 349.5 kB / 410.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.004958, allocations: 8.031 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.004988, allocations: 38.75 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.005022, allocations: 12.84 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.00519, allocations: 153.5 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.005199, allocations: 384 / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.005217, allocations: 8.375 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.00532, allocations: 53.98 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.00533, allocations: 4 kB / 410.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.005339, allocations: 7.984 kB / 410.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005344, allocations: 4 kB / 410.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.00539, allocations: 15.98 kB / 410.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.005661, allocations: 259.9 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.005774, allocations: 62.67 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.005805, allocations: 16.86 kB / 411.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.005817, allocations: 0 / 411.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.005925, allocations: 75.36 kB / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.005926, allocations: 4 kB / 411.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003643/0.00629, allocations: 185.3 kB / 411.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.006326, allocations: 55.41 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.006463, allocations: 230.7 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.006473, allocations: 25.7 kB / 411.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.006519, allocations: 116 kB / 411.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.006541, allocations: 19.86 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.006571, allocations: 29.7 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.006649, allocations: 326.8 kB / 412.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.006682, allocations: 27.98 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.00672, allocations: 37.64 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.459e-05/0.006785, allocations: 53.72 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.006785, allocations: 0 / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001082/0.006893, allocations: 109.5 kB / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006905, allocations: 8 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006909, allocations: 160 / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.006919, allocations: 0 / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.006979, allocations: 20.11 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006984, allocations: 8.016 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.007012, allocations: 11.94 kB / 412.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.007018, allocations: 4 kB / 412.4 MB, free: 12.44 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 6.742e-05/0.007085, allocations: 129.8 kB / 412.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.007097, allocations: 11.95 kB / 412.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.007246, allocations: 127 kB / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007248, allocations: 0 / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.007252, allocations: 3.984 kB / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007256, allocations: 0 / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.007591, allocations: 382.3 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007593, allocations: 0 / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.007625, allocations: 8 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.007628, allocations: 0 / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.00764, allocations: 8.375 kB / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.007642, allocations: 0 / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.007646, allocations: 7.938 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.007844, allocations: 216.2 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.00786, allocations: 7.953 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.007879, allocations: 4 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.007941, allocations: 8.031 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.007971, allocations: 11.92 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.007985, allocations: 4 kB / 413.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.00811, allocations: 172.3 kB / 413.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.00811, allocations: 3.938 kB / 413.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.00838, allocations: 20 kB / 413.5 MB, free: 11.25 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.001183/0.009562, allocations: 1.138 MB / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.009692, allocations: 59.91 kB / 414.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009694, allocations: 0 / 414.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.009737, allocations: 31.97 kB / 414.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.009952, allocations: 32.23 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.01111, allocations: 1.74 MB / 416.5 MB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.837e-05/0.01118, allocations: 96.8 kB / 416.6 MB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.01122, allocations: 12.59 kB / 416.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.01126, allocations: 44.42 kB / 416.6 MB, free: 7.996 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.01126, allocations: 0 / 416.6 MB, free: 7.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.02554, allocations: 4.367 MB / 421 MB, free: 3.492 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/6.574, allocations: 11.83 kB / 421 MB, free: 3.48 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.448665441013873]