Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 75.7 kB / 20.01 MB, free: 4.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009737/0.0009737, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8178/0.8178, allocations: 158.6 MB / 185.1 MB, free: 2.965 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.131/0.131, allocations: 32.38 MB / 269.7 MB, free: 14.89 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 407.1 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.693e-05, allocations: 5.516 kB / 407.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001947/0.001964, allocations: 1.603 MB / 408.7 MB, free: 0.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004837/0.002448, allocations: 347.2 kB / 409 MB, free: 160 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.002502, allocations: 4 kB / 409 MB, free: 156 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.002926, allocations: 463 kB / 409.5 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.003178, allocations: 251.4 kB / 409.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.00343, allocations: 151.6 kB / 409.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.003597, allocations: 159.7 kB / 410 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.003674, allocations: 16.16 kB / 410 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.00376, allocations: 115.8 kB / 410.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.003929, allocations: 239.6 kB / 410.4 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.003946, allocations: 4 kB / 410.4 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.004004, allocations: 35.92 kB / 410.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.004082, allocations: 87.7 kB / 410.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.004117, allocations: 39.73 kB / 410.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.004602, allocations: 243 kB / 410.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004603, allocations: 0 / 410.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004604, allocations: 0 / 410.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004608, allocations: 0 / 410.8 MB, free: 14.38 MB / 394.7 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.0004589/0.005067, allocations: 0.5699 MB / 411.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.005101, allocations: 16.02 kB / 411.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.259e-05/0.005124, allocations: 34.75 kB / 411.4 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.005163, allocations: 52.61 kB / 411.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.005333, allocations: 242 kB / 411.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.005341, allocations: 384 / 411.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.005359, allocations: 8.375 kB / 411.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005467, allocations: 50.23 kB / 411.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.005476, allocations: 7.938 kB / 411.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005485, allocations: 7.984 kB / 411.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.005489, allocations: 0 / 411.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.005544, allocations: 23.98 kB / 411.8 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.005886, allocations: 363.7 kB / 412.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.006054, allocations: 46.56 kB / 412.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.006083, allocations: 20.94 kB / 412.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.0061, allocations: 0 / 412.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.006118, allocations: 30.56 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.006119, allocations: 7.875 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004142/0.006533, allocations: 240.9 kB / 412.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.006564, allocations: 55.41 kB / 412.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.007083, allocations: 0.8653 MB / 413.4 MB, free: 11.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.007092, allocations: 33.64 kB / 413.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.007205, allocations: 220.1 kB / 413.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.007224, allocations: 19.8 kB / 413.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.007249, allocations: 21.7 kB / 413.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.00735, allocations: 362.7 kB / 414 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.099e-05/0.007391, allocations: 19.98 kB / 414.1 MB, free: 10.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.007425, allocations: 28.03 kB / 414.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.007499, allocations: 56.83 kB / 414.1 MB, free: 10.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.0075, allocations: 0 / 414.1 MB, free: 10.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001268/0.007627, allocations: 121.4 kB / 414.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007639, allocations: 8 kB / 414.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.007642, allocations: 0 / 414.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.007653, allocations: 0 / 414.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.749e-05/0.007691, allocations: 15.92 kB / 414.3 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.007696, allocations: 4 kB / 414.3 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.007729, allocations: 11.98 kB / 414.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.007733, allocations: 0 / 414.3 MB, free: 10.66 MB / 394.7 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 0.000117/0.00785, allocations: 213.7 kB / 414.5 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.007882, allocations: 43.72 kB / 414.5 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.008048, allocations: 137.2 kB / 414.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.00805, allocations: 0 / 414.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.008055, allocations: 4 kB / 414.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.008058, allocations: 3.984 kB / 414.7 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.008372, allocations: 441.8 kB / 415.1 MB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008373, allocations: 4.062 kB / 415.1 MB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.0084, allocations: 15.98 kB / 415.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008402, allocations: 0 / 415.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.008407, allocations: 0 / 415.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008409, allocations: 0 / 415.1 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.00841, allocations: 3.938 kB / 415.1 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.008544, allocations: 223.1 kB / 415.4 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.008573, allocations: 51.66 kB / 415.4 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.008588, allocations: 0 / 415.4 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.008632, allocations: 7.984 kB / 415.4 MB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.008662, allocations: 3.938 kB / 415.4 MB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.008665, allocations: 4 kB / 415.4 MB, free: 9.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003756/0.00904, allocations: 0.655 MB / 416.1 MB, free: 8.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00904, allocations: 4 kB / 416.1 MB, free: 8.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001658/0.009206, allocations: 16 kB / 416.1 MB, free: 8.777 MB / 394.7 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.000866/0.01007, allocations: 1.076 MB / 417.2 MB, free: 7.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01019, allocations: 51.95 kB / 417.2 MB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.0102, allocations: 0 / 417.2 MB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.01023, allocations: 27.98 kB / 417.3 MB, free: 7.629 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01048, allocations: 34.22 kB / 417.3 MB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.01284, allocations: 3.254 MB / 420.5 MB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.01298, allocations: 220.1 kB / 420.8 MB, free: 4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.863e-05/0.01302, allocations: 11.98 kB / 420.8 MB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.01311, allocations: 116.5 kB / 420.9 MB, free: 3.875 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01311, allocations: 0 / 420.9 MB, free: 3.875 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.03354, allocations: 6.708 MB / 427.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.232, allocations: 3.953 kB / 427.6 MB, free: 13.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.315921569243073]