Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001374/0.001374, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002311/0.002311, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.742 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.2768/0.2768, allocations: 44.94 MB / 358.8 MB, free: 6.051 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.002227/0.002227, allocations: 71.89 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3111, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003498/0.3146, allocations: 1.703 MB / 0.5587 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3164, allocations: 0.9676 MB / 0.5596 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.3165, allocations: 4 kB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.3168, allocations: 39.77 kB / 0.5597 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.3171, allocations: 103.5 kB / 0.5598 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.3174, allocations: 79.67 kB / 0.5599 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3176, allocations: 103.7 kB / 0.56 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3177, allocations: 17.75 kB / 0.56 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.3178, allocations: 39.8 kB / 0.56 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.3179, allocations: 31.84 kB / 0.56 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.3179, allocations: 4 kB / 0.56 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.318, allocations: 43.92 kB / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.3181, allocations: 19.92 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.3181, allocations: 35.78 kB / 0.5601 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.3184, allocations: 123.4 kB / 0.5603 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3184, allocations: 0 / 0.5603 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3184, allocations: 0 / 0.5603 GB, free: 4.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.3184, allocations: 4 kB / 0.5603 GB, free: 4.188 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.0005826/0.319, allocations: 347.6 kB / 0.5606 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.022e-05/0.3191, allocations: 8.031 kB / 0.5606 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.3191, allocations: 34.69 kB / 0.5606 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.3192, allocations: 12.89 kB / 0.5607 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3195, allocations: 155 kB / 0.5608 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3195, allocations: 4.359 kB / 0.5608 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.3195, allocations: 3.938 kB / 0.5608 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3197, allocations: 61.67 kB / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3197, allocations: 0 / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3197, allocations: 4 kB / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3197, allocations: 0 / 0.5609 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.3198, allocations: 19.98 kB / 0.5609 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.3203, allocations: 259.9 kB / 0.5611 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.3205, allocations: 62.66 kB / 0.5612 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.3206, allocations: 20.84 kB / 0.5612 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3206, allocations: 0 / 0.5612 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.3208, allocations: 71.33 kB / 0.5613 GB, free: 3.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3208, allocations: 4 kB / 0.5613 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006155/0.3214, allocations: 185.3 kB / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.3214, allocations: 55.41 kB / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.3217, allocations: 202.2 kB / 0.5617 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3217, allocations: 25.7 kB / 0.5617 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.3218, allocations: 108.1 kB / 0.5618 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.3218, allocations: 27.78 kB / 0.5619 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.3219, allocations: 21.72 kB / 0.5619 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.322, allocations: 326.8 kB / 0.5622 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.3221, allocations: 19.98 kB / 0.5622 GB, free: 2.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.3222, allocations: 45.64 kB / 0.5623 GB, free: 1.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.3223, allocations: 69.69 kB / 0.5623 GB, free: 1.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3223, allocations: 0 / 0.5623 GB, free: 1.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002056/0.3225, allocations: 105.6 kB / 0.5624 GB, free: 1.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3225, allocations: 8 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3225, allocations: 0 / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3225, allocations: 0 / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.3226, allocations: 15.94 kB / 0.5624 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3226, allocations: 8.031 kB / 0.5625 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.3227, allocations: 7.922 kB / 0.5625 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3227, allocations: 4 kB / 0.5625 GB, free: 1.727 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.0001127/0.3228, allocations: 124.7 kB / 0.5626 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.3228, allocations: 15.91 kB / 0.5626 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.3231, allocations: 123 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3231, allocations: 0 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3231, allocations: 384 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3231, allocations: 3.938 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.3236, allocations: 374.4 kB / 0.5631 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3236, allocations: 4 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.3237, allocations: 12 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3237, allocations: 3.938 kB / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.3237, allocations: 0 / 0.5631 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3237, allocations: 7.938 kB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3237, allocations: 0 / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.324, allocations: 220.2 kB / 0.5633 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.324, allocations: 7.953 kB / 0.5633 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.324, allocations: 3.938 kB / 0.5633 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3241, allocations: 7.969 kB / 0.5633 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3241, allocations: 12.36 kB / 0.5633 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.3242, allocations: 4 kB / 0.5634 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3243, allocations: 152.2 kB / 0.5635 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3243, allocations: 0 / 0.5635 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.3246, allocations: 31.86 kB / 0.5635 GB, free: 0.5469 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 (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.002477/0.3271, allocations: 1.132 MB / 0.5646 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3273, allocations: 59.91 kB / 0.5647 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3273, allocations: 0 / 0.5647 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.3274, allocations: 31.92 kB / 0.5647 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.3278, allocations: 31.97 kB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.3302, allocations: 1.678 MB / 0.5664 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.3303, allocations: 92.17 kB / 0.5665 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.3303, allocations: 8.984 kB / 0.5665 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/0.3304, allocations: 39.42 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3304, allocations: 3.938 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.3604, allocations: 4.148 MB / 0.5706 GB, free: 9.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.51, allocations: 7.172 kB / 0.5706 GB, free: 9.461 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.532096032984555]