Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002363/0.002363, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2226/0.2226, allocations: 44.93 MB / 358.8 MB, free: 6.16 MB / 286.1 MB " [Timeout remaining time 180] 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.0033/0.0033, allocations: 67.88 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.386, allocations: 65.48 MB / 0.557 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003499/0.3895, allocations: 1.716 MB / 0.5587 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3915, allocations: 0.9676 MB / 0.5597 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.3916, allocations: 0 / 0.5597 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.392, allocations: 83.7 kB / 0.5597 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.3924, allocations: 119.5 kB / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3927, allocations: 79.67 kB / 0.5599 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3929, allocations: 115.7 kB / 0.56 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.393, allocations: 9.828 kB / 0.56 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.3931, allocations: 59.77 kB / 0.5601 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3932, allocations: 55.81 kB / 0.5602 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3932, allocations: 4 kB / 0.5602 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3933, allocations: 51.91 kB / 0.5602 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.3934, allocations: 23.86 kB / 0.5602 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.3935, allocations: 27.8 kB / 0.5603 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.3937, allocations: 123.5 kB / 0.5604 GB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3937, allocations: 0 / 0.5604 GB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3937, allocations: 0 / 0.5604 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3937, allocations: 3.938 kB / 0.5604 GB, free: 3.965 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.000634/0.3944, allocations: 357.5 kB / 0.5607 GB, free: 3.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3944, allocations: 11.97 kB / 0.5607 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.3945, allocations: 34.73 kB / 0.5608 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.3945, allocations: 16.84 kB / 0.5608 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.3948, allocations: 158.3 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3948, allocations: 384 / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3949, allocations: 7.938 kB / 0.5609 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.395, allocations: 53.67 kB / 0.561 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3951, allocations: 0 / 0.561 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3951, allocations: 3.984 kB / 0.561 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3951, allocations: 4 kB / 0.561 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.3952, allocations: 35.91 kB / 0.561 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.3956, allocations: 263.9 kB / 0.5613 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.3958, allocations: 58.67 kB / 0.5613 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.3959, allocations: 16.86 kB / 0.5614 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3959, allocations: 0 / 0.5614 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.3961, allocations: 75.31 kB / 0.5614 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3961, allocations: 0 / 0.5614 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006046/0.3967, allocations: 189.3 kB / 0.5616 GB, free: 2.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3967, allocations: 51.41 kB / 0.5617 GB, free: 2.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.397, allocations: 235.4 kB / 0.5619 GB, free: 2.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.397, allocations: 29.64 kB / 0.5619 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.3971, allocations: 108.1 kB / 0.562 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3971, allocations: 23.8 kB / 0.562 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.3972, allocations: 29.64 kB / 0.5621 GB, free: 2.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3973, allocations: 326.8 kB / 0.5624 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.3974, allocations: 19.98 kB / 0.5624 GB, free: 1.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.3975, allocations: 37.7 kB / 0.5624 GB, free: 1.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3976, allocations: 61.66 kB / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.3976, allocations: 4 kB / 0.5625 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001976/0.3978, allocations: 105.6 kB / 0.5626 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3978, allocations: 8 kB / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3978, allocations: 0 / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3978, allocations: 0 / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.3979, allocations: 23.92 kB / 0.5626 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3979, allocations: 0 / 0.5626 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.398, allocations: 3.938 kB / 0.5626 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.398, allocations: 8.031 kB / 0.5626 GB, free: 1.434 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.0001295/0.3981, allocations: 130.4 kB / 0.5628 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.3981, allocations: 11.91 kB / 0.5628 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.3984, allocations: 123 kB / 0.5629 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3984, allocations: 0 / 0.5629 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3984, allocations: 0 / 0.5629 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3984, allocations: 7.922 kB / 0.5629 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.399, allocations: 374.6 kB / 0.5633 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.399, allocations: 4.406 kB / 0.5633 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.399, allocations: 8 kB / 0.5633 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.399, allocations: 3.938 kB / 0.5633 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.399, allocations: 8 kB / 0.5633 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.399, allocations: 4.016 kB / 0.5633 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.399, allocations: 3.984 kB / 0.5633 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.3993, allocations: 224.4 kB / 0.5635 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.3993, allocations: 11.91 kB / 0.5635 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3994, allocations: 7.938 kB / 0.5635 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.3994, allocations: 7.984 kB / 0.5635 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.3995, allocations: 8 kB / 0.5635 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3995, allocations: 4 kB / 0.5635 GB, free: 428 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3997, allocations: 169.2 kB / 0.5637 GB, free: 260 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3997, allocations: 4 kB / 0.5637 GB, free: 256 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.4, allocations: 23.94 kB / 0.5637 GB, free: 232 kB / 398.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 (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.002418/0.4024, allocations: 1.135 MB / 0.5648 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.4026, allocations: 67.91 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4026, allocations: 0 / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.4027, allocations: 27.92 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4031, allocations: 40.53 kB / 0.565 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.4052, allocations: 1.716 MB / 0.5666 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.4054, allocations: 108.6 kB / 0.5667 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.4054, allocations: 17.22 kB / 0.5668 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.4055, allocations: 39.42 kB / 0.5668 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4055, allocations: 0 / 0.5668 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.4378, allocations: 4.257 MB / 0.571 GB, free: 8.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.67, allocations: 9.531 kB / 0.571 GB, free: 8.961 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.794644746929407]