Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001649/0.001649, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001951/0.001951, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.241/0.241, allocations: 44.91 MB / 358.8 MB, free: 6.316 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 71.84 kB / 0.4932 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3976, allocations: 65.47 MB / 0.5571 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.005471/0.403, allocations: 1.744 MB / 0.5588 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.4062, allocations: 1.739 MB / 0.5605 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.4063, allocations: 0 / 0.5605 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.4067, allocations: 35.77 kB / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.4071, allocations: 103.5 kB / 0.5606 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.4073, allocations: 83.66 kB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.4075, allocations: 107.7 kB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4076, allocations: 13.81 kB / 0.5608 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.4077, allocations: 55.72 kB / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.4079, allocations: 43.83 kB / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.4079, allocations: 4 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.4081, allocations: 103.9 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.4082, allocations: 23.86 kB / 0.561 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.4083, allocations: 35.73 kB / 0.5611 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.4086, allocations: 179.4 kB / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4086, allocations: 0 / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4086, allocations: 0 / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4086, allocations: 0 / 0.5612 GB, free: 3.5 MB / 398.1 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.0006595/0.4093, allocations: 349.5 kB / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4093, allocations: 8.031 kB / 0.5616 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.4093, allocations: 38.69 kB / 0.5616 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.4094, allocations: 12.84 kB / 0.5616 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.4097, allocations: 168.3 kB / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4098, allocations: 4 kB / 0.5618 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.4098, allocations: 4 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.41, allocations: 63.39 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.41, allocations: 0 / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.41, allocations: 4 kB / 0.5619 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.41, allocations: 0 / 0.5619 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.4101, allocations: 19.92 kB / 0.5619 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.4106, allocations: 271.9 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4107, allocations: 46.69 kB / 0.5622 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.4108, allocations: 20.84 kB / 0.5622 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.4108, allocations: 0 / 0.5622 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.411, allocations: 75.33 kB / 0.5623 GB, free: 2.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.411, allocations: 0 / 0.5623 GB, free: 2.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005803/0.4116, allocations: 173.4 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.4117, allocations: 81.05 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.4119, allocations: 170.1 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4119, allocations: 29.7 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.412, allocations: 100.1 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.412, allocations: 31.75 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.412, allocations: 21.7 kB / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4122, allocations: 322.8 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.4123, allocations: 20 kB / 0.5632 GB, free: 1.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.4123, allocations: 42.56 kB / 0.5632 GB, free: 1.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.4124, allocations: 65.7 kB / 0.5633 GB, free: 1.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4125, allocations: 4.031 kB / 0.5633 GB, free: 1.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.4126, allocations: 101.5 kB / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4127, allocations: 8 kB / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4127, allocations: 0 / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4127, allocations: 384 / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.071e-05/0.4128, allocations: 15.94 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4128, allocations: 4 kB / 0.5634 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.4128, allocations: 11.98 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.4128, allocations: 4 kB / 0.5634 GB, free: 1.035 MB / 398.1 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 0.0001016/0.4129, allocations: 125.8 kB / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.413, allocations: 7.953 kB / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.4132, allocations: 114.3 kB / 0.5637 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.4132, allocations: 3.938 kB / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4132, allocations: 0 / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4132, allocations: 0 / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.4137, allocations: 374.3 kB / 0.564 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4137, allocations: 3.938 kB / 0.564 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.4137, allocations: 8 kB / 0.564 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4137, allocations: 0 / 0.564 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4137, allocations: 3.984 kB / 0.564 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4137, allocations: 4 kB / 0.564 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4137, allocations: 0 / 0.564 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.414, allocations: 204.3 kB / 0.5642 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.414, allocations: 11.89 kB / 0.5643 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.414, allocations: 4 kB / 0.5643 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.4141, allocations: 7.984 kB / 0.5643 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.4142, allocations: 3.984 kB / 0.5643 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4142, allocations: 8.172 kB / 0.5643 GB, free: 80 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.4143, allocations: 127.2 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4143, allocations: 3.938 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.4146, allocations: 47.86 kB / 0.5644 GB, free: 15.9 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002497/0.4171, allocations: 1.196 MB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.4173, allocations: 55.92 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4173, allocations: 4 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.4174, allocations: 24.14 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4177, allocations: 32.11 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.4196, allocations: 1.601 MB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4199, allocations: 0.7001 MB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.783e-05/0.42, allocations: 16.97 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.4201, allocations: 31.42 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4201, allocations: 4 kB / 0.568 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.4511, allocations: 4.21 MB / 0.5721 GB, free: 8.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.47, allocations: 7.938 kB / 0.5721 GB, free: 8.133 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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: 14.612127455882728]