Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.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.00141/0.00141, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001582/0.001582, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2352/0.2352, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 75.88 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3508, allocations: 66.09 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003267/0.3541, allocations: 1.66 MB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.3561, allocations: 1.255 MB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.3561, allocations: 7.938 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.3564, allocations: 23.86 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.3567, allocations: 87.61 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.3572, allocations: 175.8 kB / 0.5638 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3573, allocations: 83.75 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3574, allocations: 13.83 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.167e-05/0.3575, allocations: 31.86 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3576, allocations: 35.83 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.3576, allocations: 4 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.3578, allocations: 99.88 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.3579, allocations: 15.92 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.3579, allocations: 31.8 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.3582, allocations: 151.5 kB / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3582, allocations: 0 / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3582, allocations: 0 / 0.5643 GB, free: 388 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3582, allocations: 0 / 0.5643 GB, free: 388 kB / 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.0005942/0.3588, allocations: 349.5 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.3589, allocations: 8.078 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.716e-05/0.3589, allocations: 38.69 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.359, allocations: 16.89 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3592, allocations: 141.1 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3592, allocations: 12.38 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.3592, allocations: 384 / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.3595, allocations: 97.66 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3595, allocations: 7.938 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3595, allocations: 3.984 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3595, allocations: 7.875 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3596, allocations: 43.97 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.3601, allocations: 271.8 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3603, allocations: 50.55 kB / 0.5653 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.3603, allocations: 28.88 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.3603, allocations: 0 / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3604, allocations: 30.56 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3604, allocations: 0 / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008378/0.3612, allocations: 237.3 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.3613, allocations: 77.11 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3615, allocations: 157.6 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3615, allocations: 25.7 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.3615, allocations: 96.09 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.3616, allocations: 31.78 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3616, allocations: 21.72 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3618, allocations: 322.8 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3619, allocations: 43.91 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.362, allocations: 83.44 kB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.3623, allocations: 88.83 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3623, allocations: 4 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002899/0.3625, allocations: 125.6 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3626, allocations: 8 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3626, allocations: 0 / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3626, allocations: 0 / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3627, allocations: 19.98 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3627, allocations: 0 / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.3628, allocations: 15.98 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.3628, allocations: 0 / 0.5666 GB, free: 13.73 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 (7): * Single equations (assignments): 7 * 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.0001058/0.3629, allocations: 129.8 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.3629, allocations: 11.91 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.3633, allocations: 138.3 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3633, allocations: 0 / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3633, allocations: 0 / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3633, allocations: 4 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.3639, allocations: 385.4 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3639, allocations: 0 / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.75e-05/0.364, allocations: 19.97 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.364, allocations: 4.281 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.364, allocations: 0 / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.364, allocations: 3.938 kB / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.364, allocations: 4 kB / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.3643, allocations: 219.8 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.3644, allocations: 15.92 kB / 0.5675 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.3644, allocations: 8 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.3645, allocations: 11.92 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3645, allocations: 4 kB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3645, allocations: 7.938 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.3647, allocations: 125.8 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3647, allocations: 0 / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00032/0.365, allocations: 43.86 kB / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002432/0.3674, allocations: 1.173 MB / 0.5689 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.3677, allocations: 91.84 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3677, allocations: 4 kB / 0.569 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3679, allocations: 43.97 kB / 0.569 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3683, allocations: 26.58 kB / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.3707, allocations: 1.659 MB / 0.5706 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3708, allocations: 87.73 kB / 0.5707 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.3709, allocations: 20.42 kB / 0.5708 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.371, allocations: 31.42 kB / 0.5708 GB, free: 9.449 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.371, allocations: 0 / 0.5708 GB, free: 9.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.4029, allocations: 4.206 MB / 0.5749 GB, free: 5.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.42, allocations: 10.34 kB / 0.5749 GB, free: 5.234 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.664557942189276]