Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001685/0.001685, allocations: 110.1 kB / 20.43 MB, free: 1.309 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.001935/0.001935, allocations: 207.9 kB / 23.74 MB, free: 4.543 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2467/0.2467, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 83.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3506, allocations: 66.09 MB / 0.5608 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003047/0.3537, allocations: 1.625 MB / 0.5623 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3548, allocations: 0.5654 MB / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.3548, allocations: 4 kB / 0.5629 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.3551, allocations: 91.67 kB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3554, allocations: 115.6 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.3557, allocations: 114.9 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3559, allocations: 87.73 kB / 0.5633 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.356, allocations: 17.81 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3562, allocations: 27.92 kB / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3563, allocations: 71.73 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.3563, allocations: 0 / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3564, allocations: 51.92 kB / 0.5635 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.3565, allocations: 27.91 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.3565, allocations: 27.75 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.3567, allocations: 115.4 kB / 0.5636 GB, free: 1.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3567, allocations: 4 kB / 0.5636 GB, free: 1.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3567, allocations: 0 / 0.5636 GB, free: 1.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3567, allocations: 3.938 kB / 0.5636 GB, free: 1.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006119/0.3574, allocations: 341.6 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3574, allocations: 12.03 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.3575, allocations: 38.69 kB / 0.564 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.3575, allocations: 16.84 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.3577, allocations: 150.3 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3577, allocations: 384 / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3577, allocations: 8.328 kB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3579, allocations: 54.23 kB / 0.5642 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.3579, allocations: 7.875 kB / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3579, allocations: 0 / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3579, allocations: 4 kB / 0.5642 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.3581, allocations: 23.98 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.3585, allocations: 283.8 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3586, allocations: 46.56 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.3587, allocations: 16.94 kB / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3587, allocations: 0 / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3587, allocations: 38.5 kB / 0.5646 GB, free: 188 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3587, allocations: 4 kB / 0.5646 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000918/0.3597, allocations: 245.3 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.3597, allocations: 51.41 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3599, allocations: 238.8 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.36, allocations: 25.7 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.36, allocations: 108.1 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3601, allocations: 27.8 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.3601, allocations: 21.72 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3603, allocations: 326.8 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.3604, allocations: 31.97 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.3604, allocations: 27.98 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3606, allocations: 76.81 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3606, allocations: 0 / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002302/0.3608, allocations: 117.4 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3608, allocations: 10.19 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3608, allocations: 0 / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3609, allocations: 0 / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.361, allocations: 15.98 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.361, allocations: 8 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.361, allocations: 11.92 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.361, allocations: 7.938 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001138/0.3611, allocations: 131.1 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.3612, allocations: 11.95 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.3615, allocations: 139.2 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3615, allocations: 3.938 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3615, allocations: 7.984 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3615, allocations: 432 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.3621, allocations: 398.4 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3621, allocations: 4 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.3622, allocations: 12 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3622, allocations: 0 / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3622, allocations: 11.92 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3622, allocations: 4.031 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3622, allocations: 7.922 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.3625, allocations: 208.3 kB / 0.5668 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.3625, allocations: 7.953 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3626, allocations: 7.938 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.3626, allocations: 15.98 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.3627, allocations: 3.984 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3627, allocations: 4 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3628, allocations: 176.3 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3628, allocations: 0 / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.3631, allocations: 23.94 kB / 0.567 GB, free: 13.54 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00217/0.3653, allocations: 1.101 MB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.3655, allocations: 71.89 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3655, allocations: 0 / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3657, allocations: 39.97 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3661, allocations: 23.73 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.3683, allocations: 1.743 MB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3687, allocations: 0.7158 MB / 0.5707 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.927e-05/0.3688, allocations: 24.62 kB / 0.5707 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.3689, allocations: 35.42 kB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3689, allocations: 0 / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.4001, allocations: 3.422 MB / 0.5741 GB, free: 6.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.04, allocations: 10.53 kB / 0.5741 GB, free: 6.418 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.234508324996568]