Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001302/0.001302, 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.001459/0.001459, 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.421/1.421, 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.2165/0.2165, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 76.16 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3171, allocations: 66.09 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003296/0.3204, allocations: 1.593 MB / 0.5623 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.3224, allocations: 1.228 MB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.3225, allocations: 7.875 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3227, allocations: 27.86 kB / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.323, allocations: 87.61 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.3233, allocations: 111.1 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.3235, allocations: 71.78 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3236, allocations: 13.8 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.3237, allocations: 35.8 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3238, allocations: 23.86 kB / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3238, allocations: 7.984 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.324, allocations: 87.95 kB / 0.5639 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.3241, allocations: 15.98 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.3241, allocations: 23.8 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.3245, allocations: 135.5 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3245, allocations: 0 / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3245, allocations: 0 / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3245, allocations: 0 / 0.5641 GB, free: 0.543 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.0005583/0.325, allocations: 329.7 kB / 0.5644 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3251, allocations: 8.031 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.3251, allocations: 30.75 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3252, allocations: 12.89 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.3254, allocations: 150.3 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.3254, allocations: 4.375 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3254, allocations: 4.312 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3256, allocations: 89.67 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3256, allocations: 3.938 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3256, allocations: 3.984 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3256, allocations: 3.984 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.3257, allocations: 23.98 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.3261, allocations: 255.9 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3263, allocations: 38.56 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.3264, allocations: 20.94 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.3264, allocations: 0 / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3264, allocations: 34.56 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3264, allocations: 0 / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005571/0.327, allocations: 153.4 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3271, allocations: 77.11 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3272, allocations: 143.9 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3272, allocations: 25.7 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.3273, allocations: 104 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.3274, allocations: 19.86 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.3274, allocations: 21.7 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3275, allocations: 318.8 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.3276, allocations: 23.92 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3277, allocations: 67.39 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.3279, allocations: 52.83 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3279, allocations: 0 / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001971/0.3281, allocations: 85.61 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3281, allocations: 4 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3281, allocations: 0 / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3281, allocations: 0 / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.3282, allocations: 23.92 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3282, allocations: 4.281 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.3282, allocations: 4 kB / 0.5661 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.3282, allocations: 4 kB / 0.5661 GB, free: 14.21 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 (5): * Single equations (assignments): 5 * 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 9.248e-05/0.3283, allocations: 117.8 kB / 0.5662 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.3284, allocations: 11.94 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.3286, allocations: 94.06 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3286, allocations: 3.938 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3286, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3286, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.3291, allocations: 333.5 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3291, allocations: 4 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.3292, allocations: 8 kB / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3292, allocations: 0 / 0.5667 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3292, allocations: 3.984 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3292, allocations: 0 / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3292, allocations: 7.938 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.3294, allocations: 191.4 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.3295, allocations: 3.953 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3295, allocations: 0 / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.3296, allocations: 4 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.3296, allocations: 11.92 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.3296, allocations: 0 / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.3297, allocations: 117.1 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3297, allocations: 0 / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.33, allocations: 39.88 kB / 0.567 GB, free: 13.19 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 (5): * Single equations (assignments): 5 * 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.002332/0.3323, allocations: 1.144 MB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3325, allocations: 51.95 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3325, allocations: 0 / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.3326, allocations: 27.92 kB / 0.5682 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.333, allocations: 19.92 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.3348, allocations: 1.448 MB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.323e-05/0.3349, allocations: 83.08 kB / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.335, allocations: 23.97 kB / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.335, allocations: 27.42 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.335, allocations: 0 / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3658, allocations: 3.851 MB / 0.5736 GB, free: 6.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.71, allocations: 15.11 kB / 0.5736 GB, free: 6.566 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.76031477516517]