Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001907/0.001907, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002806/0.002806, allocations: 211.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 46.97 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003144/0.003144, allocations: 71.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3529, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003264/0.3561, allocations: 1.605 MB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.3582, allocations: 1.248 MB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.3582, allocations: 0 / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.3585, allocations: 27.8 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.3588, allocations: 87.61 kB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.3591, allocations: 119.5 kB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3593, allocations: 83.75 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3594, allocations: 13.83 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.3595, allocations: 31.86 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3596, allocations: 39.77 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3596, allocations: 4 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.3598, allocations: 91.94 kB / 0.5639 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.3598, allocations: 11.98 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.3599, allocations: 31.75 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.3602, allocations: 151.5 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3602, allocations: 4 kB / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3602, allocations: 0 / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3602, allocations: 0 / 0.5641 GB, free: 0.668 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.000604/0.3608, allocations: 337.6 kB / 0.5644 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3609, allocations: 12.03 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3609, allocations: 34.75 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.3609, allocations: 16.81 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.3612, allocations: 138.3 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3612, allocations: 8.375 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3612, allocations: 4.312 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3615, allocations: 117 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3615, allocations: 7.953 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3615, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3615, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3616, allocations: 35.97 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.3621, allocations: 267.9 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3623, allocations: 58.58 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.3623, allocations: 20.97 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3624, allocations: 4 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3624, allocations: 34.56 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3624, allocations: 0 / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007384/0.3631, allocations: 197.3 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.3632, allocations: 81.11 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.3634, allocations: 152.3 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3634, allocations: 33.7 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.3635, allocations: 96.12 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.3635, allocations: 27.73 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.3636, allocations: 29.7 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3637, allocations: 322.8 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.3638, allocations: 23.98 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.364, allocations: 75.33 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.3641, allocations: 68.83 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3641, allocations: 0 / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002829/0.3644, allocations: 113.6 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3644, allocations: 4 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3644, allocations: 0 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3645, allocations: 0 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3646, allocations: 23.92 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3646, allocations: 3.938 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.3646, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3647, allocations: 384 / 0.5663 GB, free: 14.14 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.0001074/0.3648, allocations: 125.8 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.3648, allocations: 19.84 kB / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.3651, allocations: 130.6 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3651, allocations: 3.938 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3651, allocations: 11.94 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3651, allocations: 3.984 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.3657, allocations: 357.6 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3657, allocations: 0 / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.3658, allocations: 19.94 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3658, allocations: 4 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3658, allocations: 3.984 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3658, allocations: 0 / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3658, allocations: 7.938 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.3661, allocations: 203.5 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.3661, allocations: 7.891 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3661, allocations: 11.98 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.3662, allocations: 4 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.3663, allocations: 3.984 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3663, allocations: 8 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3664, allocations: 115.2 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3664, allocations: 0 / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.3667, allocations: 43.88 kB / 0.5674 GB, free: 12.99 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.002499/0.3692, allocations: 1.173 MB / 0.5685 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.3695, allocations: 67.95 kB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3695, allocations: 0 / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.3696, allocations: 39.92 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3699, allocations: 33.72 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.3721, allocations: 1.542 MB / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3722, allocations: 91.67 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.543e-05/0.3723, allocations: 20.72 kB / 0.5702 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.3723, allocations: 35.41 kB / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3723, allocations: 0 / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.4059, allocations: 4.067 MB / 0.5743 GB, free: 6.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 0 / 0.5743 GB, free: 6.051 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.94273887295276]