Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.001866/0.001866, 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.002173/0.002173, allocations: 213.2 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.6/1.6, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2621/0.2621, allocations: 46.96 MB / 360.8 MB, free: 3.918 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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3611, allocations: 66.09 MB / 0.5607 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.004057/0.3652, allocations: 1.627 MB / 0.5623 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3665, allocations: 0.5305 MB / 0.5628 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.3665, allocations: 0 / 0.5628 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.3669, allocations: 71.77 kB / 0.5629 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.3673, allocations: 107.6 kB / 0.563 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.3678, allocations: 111.7 kB / 0.5631 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.368, allocations: 87.73 kB / 0.5632 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3682, allocations: 14.11 kB / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3683, allocations: 43.77 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.3684, allocations: 59.8 kB / 0.5633 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3684, allocations: 4 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.3686, allocations: 43.98 kB / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.3687, allocations: 23.92 kB / 0.5634 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.3688, allocations: 19.81 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.369, allocations: 115.5 kB / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.369, allocations: 3.984 kB / 0.5635 GB, free: 1.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.369, allocations: 3.938 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3691, allocations: 0 / 0.5635 GB, free: 1.297 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.0007096/0.3698, allocations: 341.6 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3698, allocations: 8.031 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.3699, allocations: 30.75 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.3699, allocations: 16.84 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.3703, allocations: 143 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.3703, allocations: 4.375 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.3703, allocations: 4.375 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.3705, allocations: 62.17 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3705, allocations: 3.938 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3705, allocations: 0 / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.3705, allocations: 4 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3707, allocations: 23.97 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.3712, allocations: 263.9 kB / 0.5644 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3714, allocations: 54.5 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.3714, allocations: 16.94 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.3714, allocations: 8 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3715, allocations: 30.56 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3715, allocations: 0 / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00112/0.3726, allocations: 237.3 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.3727, allocations: 67.34 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.373, allocations: 214.3 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.373, allocations: 25.7 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.3731, allocations: 112 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.3732, allocations: 27.75 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.3732, allocations: 25.7 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3734, allocations: 326.8 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.3735, allocations: 35.83 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.3736, allocations: 27.97 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3738, allocations: 76.83 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3738, allocations: 0 / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002536/0.374, allocations: 113.6 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.374, allocations: 4 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.374, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3741, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3742, allocations: 23.92 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3742, allocations: 4 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.3742, allocations: 8 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3742, allocations: 3.938 kB / 0.5657 GB, free: 14.8 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.0001279/0.3744, allocations: 129.8 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.3744, allocations: 11.91 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.3747, allocations: 131.5 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3747, allocations: 0 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3747, allocations: 4 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3748, allocations: 3.984 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.3754, allocations: 390.6 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3754, allocations: 0 / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.3755, allocations: 19.98 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3755, allocations: 4 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3755, allocations: 3.938 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3755, allocations: 0 / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3755, allocations: 0 / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.3758, allocations: 224.3 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.3758, allocations: 15.94 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3758, allocations: 3.938 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.3759, allocations: 7.938 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.376, allocations: 11.98 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.376, allocations: 0 / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.3761, allocations: 164.2 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3761, allocations: 0 / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.3764, allocations: 27.92 kB / 0.5668 GB, free: 13.57 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.002571/0.379, allocations: 1.119 MB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3792, allocations: 67.94 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3792, allocations: 4 kB / 0.568 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3793, allocations: 39.92 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.3797, allocations: 15.98 kB / 0.5681 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.382, allocations: 1.724 MB / 0.5697 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.3821, allocations: 100.8 kB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.356e-05/0.3822, allocations: 24.95 kB / 0.5699 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.3823, allocations: 35.42 kB / 0.5699 GB, free: 10.49 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3823, allocations: 0 / 0.5699 GB, free: 10.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.4168, allocations: 3.715 MB / 0.5735 GB, free: 6.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.52, allocations: 14.33 kB / 0.5735 GB, free: 6.785 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.922138286288828]