Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.0008599/0.0008599, 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.0008969/0.0008969, allocations: 170.3 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.905/0.905, 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.129/0.129, allocations: 32.36 MB / 269.6 MB, free: 14.97 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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 3.938 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.158e-05, allocations: 2.281 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002399/0.00242, allocations: 1.645 MB / 408.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009107/0.003331, allocations: 0.7609 MB / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.003387, allocations: 0 / 409.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.00366, allocations: 59.69 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.003898, allocations: 59.75 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.004073, allocations: 87.7 kB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.004214, allocations: 95.62 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.004251, allocations: 3.984 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.004331, allocations: 51.84 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.0044, allocations: 15.92 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004417, allocations: 7.938 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.82e-05/0.004485, allocations: 39.91 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.004536, allocations: 23.92 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.004573, allocations: 23.88 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.004735, allocations: 111.6 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004738, allocations: 7.922 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.00474, allocations: 0 / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004743, allocations: 0 / 409.9 MB, free: 15.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004279/0.005171, allocations: 353.5 kB / 410.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.005212, allocations: 8.031 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.005246, allocations: 30.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.005279, allocations: 16.84 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.005481, allocations: 157.2 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.005494, allocations: 8.312 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.005504, allocations: 12.31 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.005631, allocations: 49.98 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.005641, allocations: 4 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.00565, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.005655, allocations: 0 / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.005708, allocations: 15.98 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.005887, allocations: 160.7 kB / 410.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.006005, allocations: 54.56 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.006041, allocations: 24.84 kB / 410.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.006056, allocations: 0 / 410.8 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.006181, allocations: 71.33 kB / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.006182, allocations: 0 / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002156/0.006398, allocations: 105.6 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.006433, allocations: 55.34 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.006614, allocations: 263.5 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.006626, allocations: 25.7 kB / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.006677, allocations: 112.1 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.006704, allocations: 15.95 kB / 411.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.006733, allocations: 21.7 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.006819, allocations: 322.8 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.006849, allocations: 15.98 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.006885, allocations: 33.7 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.006945, allocations: 45.7 kB / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006948, allocations: 0 / 411.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.618e-05/0.007044, allocations: 93.45 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.007056, allocations: 8.031 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.007061, allocations: 0 / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.007072, allocations: 4 kB / 411.9 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.007122, allocations: 8 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.007127, allocations: 3.938 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.007158, allocations: 11.94 kB / 412 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.007165, allocations: 4 kB / 412 MB, free: 12.88 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 (7): * Single equations (assignments): 7 * 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.388e-05/0.007239, allocations: 129.8 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.007253, allocations: 23.78 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.007386, allocations: 98.81 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007388, allocations: 4 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.007392, allocations: 3.938 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.007396, allocations: 4 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.007498, allocations: 160.7 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.007503, allocations: 384 / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.00752, allocations: 11.94 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.007524, allocations: 11.94 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.007531, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007533, allocations: 0 / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007534, allocations: 3.984 kB / 412.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.00764, allocations: 121 kB / 412.5 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.007657, allocations: 19.84 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.007673, allocations: 3.984 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.007692, allocations: 4 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.007722, allocations: 0 / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.007736, allocations: 8 kB / 412.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.007847, allocations: 199.3 kB / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007847, allocations: 0 / 412.8 MB, free: 12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.007999, allocations: 20 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008661/0.008865, allocations: 0.9988 MB / 413.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.008976, allocations: 43.91 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008977, allocations: 0 / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.009013, allocations: 19.98 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.009197, allocations: 31.7 kB / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.01048, allocations: 1.67 MB / 415.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.515e-05/0.01054, allocations: 100.9 kB / 415.6 MB, free: 9.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.01057, allocations: 8.609 kB / 415.7 MB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.01064, allocations: 44.42 kB / 415.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01064, allocations: 0 / 415.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.02665, allocations: 4.221 MB / 419.9 MB, free: 4.617 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/6.536, allocations: 8 kB / 419.9 MB, free: 4.609 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.515810915268958]