Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00182/0.00182, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 212.9 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 46.92 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002929/0.002929, allocations: 75.88 kB / 0.4963 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3757, allocations: 66.08 MB / 0.5608 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004669/0.3804, allocations: 1.768 MB / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.3832, allocations: 1.053 MB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.3833, allocations: 0 / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.3837, allocations: 107.7 kB / 0.5637 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.3842, allocations: 131.5 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.3846, allocations: 79.67 kB / 0.5639 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.3849, allocations: 123.7 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.385, allocations: 21.78 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.3852, allocations: 55.77 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.3853, allocations: 79.67 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.3854, allocations: 4 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3855, allocations: 63.97 kB / 0.5642 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.3856, allocations: 23.92 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.3857, allocations: 43.67 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.3861, allocations: 147.3 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3861, allocations: 3.938 kB / 0.5644 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3861, allocations: 0 / 0.5644 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3861, allocations: 0 / 0.5644 GB, free: 0.5391 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007653/0.3868, allocations: 385.3 kB / 0.5648 GB, free: 136 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3869, allocations: 12.03 kB / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.3869, allocations: 30.75 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.387, allocations: 20.84 kB / 0.5648 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.3874, allocations: 162.4 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3874, allocations: 8.359 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.3874, allocations: 8.328 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3876, allocations: 61.8 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3877, allocations: 0 / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3877, allocations: 3.938 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3877, allocations: 4 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3878, allocations: 19.98 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.3883, allocations: 279.8 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.3886, allocations: 58.55 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.3887, allocations: 24.91 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3887, allocations: 0 / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.3889, allocations: 79.45 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.983e-06/0.3889, allocations: 3.938 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001081/0.39, allocations: 245.2 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.3901, allocations: 51.41 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.3905, allocations: 254.7 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.3905, allocations: 25.7 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3906, allocations: 112.1 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.3907, allocations: 35.7 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.3907, allocations: 33.64 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.391, allocations: 330.8 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3911, allocations: 23.98 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.3912, allocations: 52.89 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3914, allocations: 81.7 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3914, allocations: 0 / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003779/0.3918, allocations: 133.5 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3918, allocations: 6.344 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3918, allocations: 4 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3918, allocations: 0 / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.392, allocations: 19.98 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.392, allocations: 4 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.392, allocations: 3.938 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3921, allocations: 8 kB / 0.5669 GB, free: 13.8 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001722/0.3922, allocations: 143.1 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3923, allocations: 11.91 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.3927, allocations: 155.8 kB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3927, allocations: 0 / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3927, allocations: 0 / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3927, allocations: 7.938 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008661/0.3936, allocations: 431.1 kB / 0.5676 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3936, allocations: 0 / 0.5676 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/0.3937, allocations: 19.88 kB / 0.5676 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3937, allocations: 0 / 0.5676 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.3937, allocations: 11.97 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3937, allocations: 0 / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3937, allocations: 0 / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.3941, allocations: 237.2 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.3942, allocations: 15.84 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.3942, allocations: 11.98 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3943, allocations: 4 kB / 0.5679 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.3944, allocations: 11.92 kB / 0.5679 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3944, allocations: 4 kB / 0.5679 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.3947, allocations: 192.2 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3947, allocations: 4.094 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.3951, allocations: 39.86 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002978/0.3981, allocations: 1.162 MB / 0.5693 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.3983, allocations: 71.91 kB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3983, allocations: 0 / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.3984, allocations: 35.92 kB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3988, allocations: 30.58 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.401, allocations: 1.891 MB / 0.5712 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.4014, allocations: 0.7197 MB / 0.5719 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.92e-05/0.4015, allocations: 20.62 kB / 0.572 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.4016, allocations: 47.42 kB / 0.572 GB, free: 8.477 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4016, allocations: 3.938 kB / 0.572 GB, free: 8.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.4315, allocations: 4.215 MB / 0.5761 GB, free: 4.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.41, allocations: 2.188 kB / 0.5761 GB, free: 4.301 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.70305507001467]