Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001832/0.001832, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002188/0.002188, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2315/0.2315, allocations: 46.92 MB / 360.8 MB, free: 4.184 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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003696/0.003696, allocations: 75.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3342, allocations: 66.09 MB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003203/0.3375, allocations: 1.627 MB / 0.5623 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3393, allocations: 1.263 MB / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.3394, allocations: 0 / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3396, allocations: 35.77 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.3399, allocations: 87.56 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.3402, allocations: 111.1 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3404, allocations: 87.75 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3405, allocations: 13.81 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.435e-05/0.3405, allocations: 35.8 kB / 0.5639 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3407, allocations: 43.83 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.3407, allocations: 4 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.3409, allocations: 99.88 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.3409, allocations: 19.92 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.3409, allocations: 31.8 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.3412, allocations: 155.5 kB / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3412, allocations: 0 / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3412, allocations: 0 / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3412, allocations: 4 kB / 0.5643 GB, free: 0.6758 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004995/0.3417, allocations: 341.5 kB / 0.5646 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3418, allocations: 16.02 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.3418, allocations: 30.75 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3418, allocations: 8.891 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.342, allocations: 142.4 kB / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.342, allocations: 384 / 0.5648 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3421, allocations: 12.31 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3423, allocations: 79.89 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3423, allocations: 7.891 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3423, allocations: 4 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3423, allocations: 4 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3424, allocations: 31.97 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.3428, allocations: 283.8 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.343, allocations: 58.56 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.343, allocations: 20.97 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.343, allocations: 0 / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3431, allocations: 30.56 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.3431, allocations: 0 / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006589/0.3437, allocations: 209.4 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3438, allocations: 77.11 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.344, allocations: 159.8 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.344, allocations: 33.64 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.344, allocations: 96.12 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.3441, allocations: 27.75 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.3441, allocations: 25.7 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3443, allocations: 322.8 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.3444, allocations: 27.97 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.3445, allocations: 45.69 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3446, allocations: 73.05 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3446, allocations: 0 / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002258/0.3448, allocations: 113.6 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3449, allocations: 7.938 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3449, allocations: 0 / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3449, allocations: 0 / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.345, allocations: 19.98 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.345, allocations: 0 / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.345, allocations: 11.92 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3451, allocations: 4 kB / 0.5665 GB, free: 14.18 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 9.41e-05/0.3451, allocations: 123.2 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.3452, allocations: 11.91 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.3455, allocations: 126.3 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3455, allocations: 3.938 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3455, allocations: 0 / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3455, allocations: 7.938 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.346, allocations: 373.6 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.346, allocations: 0 / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.3461, allocations: 23.92 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3461, allocations: 0 / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3461, allocations: 4.312 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3461, allocations: 0 / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3461, allocations: 0 / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3464, allocations: 211.7 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.3464, allocations: 7.953 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3464, allocations: 3.938 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.3465, allocations: 11.98 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.3466, allocations: 4 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3466, allocations: 0 / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3467, allocations: 119.2 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3467, allocations: 0 / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000287/0.3469, allocations: 43.86 kB / 0.5675 GB, free: 13.04 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 (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.002238/0.3492, allocations: 1.135 MB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.3494, allocations: 75.88 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3494, allocations: 0 / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.3495, allocations: 39.97 kB / 0.5687 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3499, allocations: 19.94 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3518, allocations: 1.55 MB / 0.5703 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3522, allocations: 0.6963 MB / 0.571 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.285e-05/0.3522, allocations: 20.7 kB / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.3523, allocations: 35.42 kB / 0.571 GB, free: 9.504 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3523, allocations: 0 / 0.571 GB, free: 9.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.3834, allocations: 3.639 MB / 0.5746 GB, free: 5.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.42, allocations: 0 / 0.5746 GB, free: 5.867 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_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_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.439338838004915]