Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001925/0.001925, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002278/0.002278, allocations: 213.8 kB / 24.54 MB, free: 4.016 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.514/1.514, allocations: 230.3 MB / 258 MB, free: 8.246 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.2354/0.2354, allocations: 46.89 MB / 361.3 MB, free: 4.453 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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003426/0.003426, allocations: 79.86 kB / 0.4966 GB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3689, allocations: 66.02 MB / 0.5611 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003153/0.372, allocations: 1.628 MB / 0.5627 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3731, allocations: 0.5732 MB / 0.5632 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.3732, allocations: 4 kB / 0.5632 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.3734, allocations: 31.78 kB / 0.5632 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.3736, allocations: 67.64 kB / 0.5633 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3739, allocations: 126.8 kB / 0.5634 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3741, allocations: 71.77 kB / 0.5635 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.3742, allocations: 13.83 kB / 0.5635 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.3743, allocations: 27.92 kB / 0.5635 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3744, allocations: 31.83 kB / 0.5636 GB, free: 2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3744, allocations: 4 kB / 0.5636 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.3746, allocations: 103.9 kB / 0.5637 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.3746, allocations: 19.92 kB / 0.5637 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.3747, allocations: 23.8 kB / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.3749, allocations: 143.5 kB / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3749, allocations: 0 / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3749, allocations: 4 kB / 0.5639 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3749, allocations: 0 / 0.5639 GB, free: 1.707 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.0005924/0.3755, allocations: 410.7 kB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3756, allocations: 8.031 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.3756, allocations: 42.75 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3757, allocations: 8.891 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.3759, allocations: 192.2 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3759, allocations: 384 / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.3759, allocations: 12.31 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3761, allocations: 63.95 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3761, allocations: 3.938 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.3761, allocations: 0 / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3761, allocations: 4 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-05/0.3762, allocations: 23.98 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.3767, allocations: 292.9 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3768, allocations: 54.5 kB / 0.5649 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.3769, allocations: 24.92 kB / 0.5649 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3769, allocations: 0 / 0.5649 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.765e-05/0.377, allocations: 34.56 kB / 0.565 GB, free: 384 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.377, allocations: 0 / 0.565 GB, free: 384 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006407/0.3776, allocations: 185.3 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.3777, allocations: 81.11 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3779, allocations: 159.8 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3779, allocations: 29.7 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.378, allocations: 88.14 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.378, allocations: 27.78 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.378, allocations: 21.72 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3782, allocations: 326.8 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.3783, allocations: 35.91 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.3784, allocations: 41.7 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3785, allocations: 68.75 kB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3785, allocations: 4 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002296/0.3787, allocations: 105.6 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3788, allocations: 7.984 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3788, allocations: 4 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3788, allocations: 0 / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3789, allocations: 23.92 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3789, allocations: 0 / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3789, allocations: 4 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.379, allocations: 4 kB / 0.5661 GB, free: 15.11 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.597e-05/0.3791, allocations: 121.8 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.3791, allocations: 11.94 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.3794, allocations: 114.6 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3794, allocations: 7.938 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3794, allocations: 0 / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3794, allocations: 0 / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.3799, allocations: 402.4 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3799, allocations: 0 / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.38, allocations: 19.94 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.38, allocations: 0 / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.38, allocations: 0 / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.38, allocations: 11.92 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.38, allocations: 0 / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3803, allocations: 191.5 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.3803, allocations: 89.06 kB / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3803, allocations: 0 / 0.5671 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.3804, allocations: 11.92 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3805, allocations: 4 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3805, allocations: 3.938 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.3806, allocations: 119.2 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3806, allocations: 0 / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.3809, allocations: 51.8 kB / 0.5673 GB, free: 13.86 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 (7): * Single equations (assignments): 7 * 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.002132/0.383, allocations: 1.122 MB / 0.5683 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3832, allocations: 75.88 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3832, allocations: 4 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.3833, allocations: 31.97 kB / 0.5685 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3837, allocations: 19.92 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3856, allocations: 1.527 MB / 0.57 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3859, allocations: 0.6963 MB / 0.5706 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.386, allocations: 29.09 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.3861, allocations: 27.42 kB / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3861, allocations: 0 / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.4112, allocations: 3.565 MB / 0.5742 GB, free: 6.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.241, allocations: 15.16 kB / 0.5742 GB, free: 6.762 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.466787494020537]