Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001457/0.001457, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.002282/0.002282, allocations: 210 kB / 23.72 MB, free: 4.531 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.541/1.541, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.239/0.239, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 75.88 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4184, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00303/0.4214, allocations: 1.601 MB / 0.5622 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.4225, allocations: 0.5421 MB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.4225, allocations: 0 / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.4227, allocations: 23.86 kB / 0.5628 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.423, allocations: 83.56 kB / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.4233, allocations: 119.7 kB / 0.563 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.4235, allocations: 67.83 kB / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.4236, allocations: 13.81 kB / 0.5631 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.4236, allocations: 27.86 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.4237, allocations: 39.83 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4238, allocations: 4 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.4239, allocations: 91.89 kB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.424, allocations: 19.92 kB / 0.5632 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.424, allocations: 23.86 kB / 0.5633 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.4243, allocations: 139.5 kB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4243, allocations: 0 / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4243, allocations: 0 / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.4243, allocations: 0 / 0.5634 GB, free: 1.242 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005256/0.4248, allocations: 341.5 kB / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4249, allocations: 8.031 kB / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.4249, allocations: 38.75 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.4249, allocations: 8.891 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4251, allocations: 134.4 kB / 0.5639 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.4251, allocations: 4.375 kB / 0.5639 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.4252, allocations: 4.375 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4254, allocations: 93.59 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4254, allocations: 3.938 kB / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.4254, allocations: 0 / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4254, allocations: 0 / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.047e-05/0.4255, allocations: 23.98 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.4259, allocations: 260 kB / 0.5643 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.4261, allocations: 54.44 kB / 0.5643 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.4261, allocations: 24.94 kB / 0.5644 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.4262, allocations: 4 kB / 0.5644 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4262, allocations: 30.56 kB / 0.5644 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4262, allocations: 0 / 0.5644 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007041/0.4269, allocations: 181.3 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4269, allocations: 85.05 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.4271, allocations: 159.7 kB / 0.5648 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4272, allocations: 29.7 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.4272, allocations: 92.14 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.4272, allocations: 27.72 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.4273, allocations: 21.72 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4274, allocations: 326.8 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.4275, allocations: 27.98 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4276, allocations: 71.39 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.4278, allocations: 80.77 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4278, allocations: 0 / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002274/0.428, allocations: 105.6 kB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.428, allocations: 4 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4281, allocations: 3.984 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4281, allocations: 0 / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.4282, allocations: 16 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4282, allocations: 4.297 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.4282, allocations: 8 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.4282, allocations: 4 kB / 0.5656 GB, free: 14.78 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.0001079/0.4284, allocations: 125.7 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.4284, allocations: 7.953 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.4287, allocations: 114.3 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.4287, allocations: 4.281 kB / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4287, allocations: 0 / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4287, allocations: 0 / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.4293, allocations: 361.5 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4293, allocations: 3.984 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.4293, allocations: 19.98 kB / 0.5662 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4293, allocations: 0 / 0.5662 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.4293, allocations: 0 / 0.5662 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4293, allocations: 3.938 kB / 0.5662 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4293, allocations: 0 / 0.5662 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.4296, allocations: 203.4 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.4297, allocations: 11.95 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.4297, allocations: 4 kB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.4298, allocations: 11.92 kB / 0.5664 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.4298, allocations: 7.938 kB / 0.5664 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4298, allocations: 0 / 0.5664 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4299, allocations: 115.2 kB / 0.5665 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4299, allocations: 0 / 0.5665 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.4302, allocations: 47.86 kB / 0.5666 GB, free: 13.67 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.002435/0.4326, allocations: 1.156 MB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.4329, allocations: 67.95 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4329, allocations: 0 / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.433, allocations: 35.91 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.4334, allocations: 15.94 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.4353, allocations: 1.534 MB / 0.5693 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.404e-05/0.4354, allocations: 75.42 kB / 0.5694 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.473e-05/0.4355, allocations: 29.03 kB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.4356, allocations: 31.42 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4356, allocations: 0 / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.4701, allocations: 4.153 MB / 0.5735 GB, free: 6.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.63, allocations: 19.97 kB / 0.5735 GB, free: 6.609 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_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_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.823307922924869]