Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 109.7 kB / 21.1 MB, free: 500 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 189.2 kB / 24.36 MB, free: 3.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 253.1 MB, free: 13.25 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.2161/0.2161, allocations: 44.92 MB / 353.2 MB, free: 11.88 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 496.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3806, allocations: 64.29 MB / 0.548 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003511/0.3841, allocations: 1.729 MB / 0.5497 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3857, allocations: 0.901 MB / 0.5506 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.3858, allocations: 1.281 kB / 0.5506 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.3861, allocations: 50.53 kB / 0.5506 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.3863, allocations: 63.72 kB / 0.5507 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.3867, allocations: 111.6 kB / 0.5508 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.3869, allocations: 97.36 kB / 0.5509 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.387, allocations: 10.83 kB / 0.5509 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3871, allocations: 44.8 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.3872, allocations: 37.39 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3872, allocations: 4.5 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.3873, allocations: 46.33 kB / 0.551 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.3874, allocations: 24.92 kB / 0.551 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.3874, allocations: 35.89 kB / 0.5511 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.3876, allocations: 118.7 kB / 0.5512 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3876, allocations: 0 / 0.5512 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3876, allocations: 1.188 kB / 0.5512 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3876, allocations: 0 / 0.5512 GB, free: 10.45 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.0006485/0.3883, allocations: 354.6 kB / 0.5515 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.3884, allocations: 12.44 kB / 0.5515 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.3884, allocations: 40.05 kB / 0.5516 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3884, allocations: 10.36 kB / 0.5516 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3888, allocations: 147.5 kB / 0.5517 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.3888, allocations: 5.812 kB / 0.5517 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3888, allocations: 6.531 kB / 0.5517 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.389, allocations: 54.39 kB / 0.5518 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.389, allocations: 4 kB / 0.5518 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.389, allocations: 0 / 0.5518 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.389, allocations: 1.312 kB / 0.5518 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.3891, allocations: 23.27 kB / 0.5518 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.3895, allocations: 266.3 kB / 0.5521 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3897, allocations: 56.58 kB / 0.5521 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.3898, allocations: 25.09 kB / 0.5522 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3898, allocations: 5.094 kB / 0.5522 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.39, allocations: 69.11 kB / 0.5522 GB, free: 9.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.39, allocations: 0 / 0.5522 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006109/0.3906, allocations: 175 kB / 0.5524 GB, free: 9.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.3907, allocations: 52.75 kB / 0.5524 GB, free: 9.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.3909, allocations: 232.1 kB / 0.5527 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.3909, allocations: 30.77 kB / 0.5527 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.391, allocations: 106 kB / 0.5528 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3911, allocations: 27.59 kB / 0.5528 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.3911, allocations: 20.5 kB / 0.5528 GB, free: 8.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3913, allocations: 330.3 kB / 0.5532 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.902e-05/0.3913, allocations: 15.91 kB / 0.5532 GB, free: 8.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.3914, allocations: 39.11 kB / 0.5532 GB, free: 8.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.3915, allocations: 66.72 kB / 0.5533 GB, free: 8.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3916, allocations: 0 / 0.5533 GB, free: 8.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002092/0.3918, allocations: 101.6 kB / 0.5534 GB, free: 8.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3918, allocations: 6.594 kB / 0.5534 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3918, allocations: 1.062 kB / 0.5534 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3918, allocations: 9.016 kB / 0.5534 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3919, allocations: 25.02 kB / 0.5534 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3919, allocations: 1.25 kB / 0.5534 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.392, allocations: 6.344 kB / 0.5534 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.392, allocations: 2.438 kB / 0.5534 GB, free: 8.406 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.0001241/0.3921, allocations: 133.8 kB / 0.5535 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.3921, allocations: 14.78 kB / 0.5536 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.3924, allocations: 121.1 kB / 0.5537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3924, allocations: 1.188 kB / 0.5537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3924, allocations: 4 kB / 0.5537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.3924, allocations: 7.922 kB / 0.5537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.3929, allocations: 366 kB / 0.554 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3929, allocations: 0 / 0.554 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.3929, allocations: 7.344 kB / 0.554 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3929, allocations: 5.406 kB / 0.5541 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3929, allocations: 1.125 kB / 0.5541 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3929, allocations: 1.312 kB / 0.5541 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3929, allocations: 5.125 kB / 0.5541 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3932, allocations: 213.7 kB / 0.5543 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.3932, allocations: 12.45 kB / 0.5543 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3932, allocations: 5.281 kB / 0.5543 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.3933, allocations: 2.406 kB / 0.5543 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.3933, allocations: 7.141 kB / 0.5543 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3933, allocations: 7.531 kB / 0.5543 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.3935, allocations: 166.7 kB / 0.5545 GB, free: 7.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3935, allocations: 192 / 0.5545 GB, free: 7.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3938, allocations: 32.84 kB / 0.5545 GB, free: 7.496 MB / 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 (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.00215/0.3959, allocations: 1.091 MB / 0.5556 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3961, allocations: 51.53 kB / 0.5556 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3961, allocations: 1.062 kB / 0.5556 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.3962, allocations: 38.89 kB / 0.5556 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3966, allocations: 28.83 kB / 0.5557 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.3987, allocations: 1.735 MB / 0.5574 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3991, allocations: 0.7199 MB / 0.5581 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.941e-05/0.3991, allocations: 14.28 kB / 0.5581 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.3992, allocations: 35.27 kB / 0.5581 GB, free: 4.363 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3992, allocations: 0 / 0.5581 GB, free: 4.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.4257, allocations: 3.616 MB / 0.5616 GB, free: 1.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.358, allocations: 6.406 kB / 0.5617 GB, free: 1.289 MB / 398.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.364918509003473]