Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001858/0.001858, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.002273/0.002273, allocations: 214 kB / 23.74 MB, free: 4.688 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 44.91 MB / 358.8 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 75.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3767, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003182/0.3799, allocations: 1.609 MB / 0.5586 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.381, allocations: 0.5582 MB / 0.5592 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.3811, allocations: 0 / 0.5592 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.3813, allocations: 27.83 kB / 0.5592 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.3816, allocations: 83.62 kB / 0.5593 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3819, allocations: 107.7 kB / 0.5594 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.3821, allocations: 71.77 kB / 0.5594 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3822, allocations: 9.812 kB / 0.5594 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.3822, allocations: 27.92 kB / 0.5595 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.3823, allocations: 23.8 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3823, allocations: 4 kB / 0.5595 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.3824, allocations: 31.98 kB / 0.5595 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.3824, allocations: 19.92 kB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.3825, allocations: 31.73 kB / 0.5596 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3827, allocations: 79.61 kB / 0.5597 GB, free: 5.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3827, allocations: 4 kB / 0.5597 GB, free: 5.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3827, allocations: 4 kB / 0.5597 GB, free: 5.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3827, allocations: 0 / 0.5597 GB, free: 5.09 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.0004616/0.3831, allocations: 321.7 kB / 0.56 GB, free: 4.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3832, allocations: 8.031 kB / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.3832, allocations: 38.75 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3833, allocations: 16.83 kB / 0.56 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.3834, allocations: 140.4 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3834, allocations: 4.125 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3835, allocations: 8 kB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3836, allocations: 41.69 kB / 0.5602 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3836, allocations: 3.984 kB / 0.5602 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3836, allocations: 8 kB / 0.5602 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3836, allocations: 0 / 0.5602 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.3837, allocations: 27.91 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.3841, allocations: 248 kB / 0.5605 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3843, allocations: 50.55 kB / 0.5605 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.3844, allocations: 12.95 kB / 0.5606 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3844, allocations: 7.984 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3844, allocations: 34.5 kB / 0.5606 GB, free: 4.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3844, allocations: 0 / 0.5606 GB, free: 4.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005615/0.385, allocations: 157.4 kB / 0.5607 GB, free: 3.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.385, allocations: 59.34 kB / 0.5608 GB, free: 3.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.3852, allocations: 174.4 kB / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3852, allocations: 25.7 kB / 0.561 GB, free: 3.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.3853, allocations: 104.1 kB / 0.5611 GB, free: 3.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3853, allocations: 15.91 kB / 0.5611 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.3854, allocations: 13.72 kB / 0.5611 GB, free: 3.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3855, allocations: 326.8 kB / 0.5614 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.3856, allocations: 19.98 kB / 0.5614 GB, free: 3.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.3856, allocations: 23.97 kB / 0.5615 GB, free: 3.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3858, allocations: 48.83 kB / 0.5615 GB, free: 2.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3858, allocations: 0 / 0.5615 GB, free: 2.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001945/0.386, allocations: 97.52 kB / 0.5616 GB, free: 2.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.386, allocations: 7.984 kB / 0.5616 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.386, allocations: 0 / 0.5616 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.386, allocations: 256 / 0.5616 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.3861, allocations: 12 kB / 0.5616 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3861, allocations: 7.938 kB / 0.5616 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.3861, allocations: 7.984 kB / 0.5616 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.3861, allocations: 3.938 kB / 0.5616 GB, free: 2.855 MB / 398.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.812e-05/0.3862, allocations: 129.8 kB / 0.5618 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.3863, allocations: 11.94 kB / 0.5618 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3865, allocations: 102 kB / 0.5619 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3865, allocations: 0 / 0.5619 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3865, allocations: 3.938 kB / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3865, allocations: 0 / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.387, allocations: 329.6 kB / 0.5622 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.387, allocations: 4 kB / 0.5622 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.387, allocations: 12 kB / 0.5622 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.387, allocations: 3.938 kB / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.387, allocations: 0 / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.387, allocations: 0 / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.387, allocations: 3.984 kB / 0.5622 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.3873, allocations: 187.4 kB / 0.5624 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.3873, allocations: 15.89 kB / 0.5624 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3873, allocations: 3.938 kB / 0.5624 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.3874, allocations: 4 kB / 0.5624 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.3874, allocations: 3.984 kB / 0.5624 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3874, allocations: 4 kB / 0.5624 GB, free: 1.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.3875, allocations: 132.9 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3875, allocations: 0 / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3878, allocations: 19.94 kB / 0.5626 GB, free: 1.816 MB / 398.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.00194/0.3897, allocations: 1.025 MB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3899, allocations: 51.95 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.39, allocations: 4 kB / 0.5636 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.39, allocations: 27.92 kB / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3904, allocations: 15.98 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3922, allocations: 1.517 MB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3926, allocations: 0.7002 MB / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.71e-05/0.3926, allocations: 15.97 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.3927, allocations: 27.42 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3927, allocations: 0 / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.4205, allocations: 2.837 MB / 0.5686 GB, free: 11.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.33, allocations: 11.94 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.523886999995739]