Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001738/0.001738, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002086/0.002086, allocations: 203.5 kB / 23.73 MB, free: 4.379 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.77 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.2134/0.2134, allocations: 46.95 MB / 360.9 MB, free: 4.012 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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.89 kB / 0.4961 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.291, allocations: 66.03 MB / 0.5606 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002808/0.2938, allocations: 1.62 MB / 0.5622 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.2948, allocations: 0.5193 MB / 0.5627 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.2948, allocations: 0 / 0.5627 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.295, allocations: 71.78 kB / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.2953, allocations: 103.5 kB / 0.5629 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.2956, allocations: 95.31 kB / 0.563 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.2957, allocations: 91.8 kB / 0.563 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.2958, allocations: 10.11 kB / 0.5631 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.2959, allocations: 39.83 kB / 0.5631 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.296, allocations: 47.83 kB / 0.5631 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.296, allocations: 4 kB / 0.5631 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.2961, allocations: 51.97 kB / 0.5632 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.2961, allocations: 11.94 kB / 0.5632 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.2961, allocations: 27.8 kB / 0.5632 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.2963, allocations: 103.5 kB / 0.5633 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2963, allocations: 0 / 0.5633 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2963, allocations: 0 / 0.5633 GB, free: 1.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2963, allocations: 4 kB / 0.5633 GB, free: 1.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004602/0.2968, allocations: 345.6 kB / 0.5637 GB, free: 1.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2968, allocations: 8.031 kB / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.2969, allocations: 30.75 kB / 0.5637 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.2969, allocations: 12.84 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.2971, allocations: 142.4 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2971, allocations: 8.312 kB / 0.5639 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.2971, allocations: 4.359 kB / 0.5639 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.2972, allocations: 57.62 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2973, allocations: 0 / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.2973, allocations: 4 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2973, allocations: 0 / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.755e-05/0.2974, allocations: 27.97 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.2977, allocations: 259.8 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.2978, allocations: 42.55 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.2979, allocations: 20.94 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2979, allocations: 0 / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.2979, allocations: 34.56 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.2979, allocations: 0 / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008048/0.2987, allocations: 229.3 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2988, allocations: 51.41 kB / 0.5646 GB, free: 144 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.299, allocations: 211.2 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.299, allocations: 25.7 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.2991, allocations: 112.1 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.2991, allocations: 27.75 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.2991, allocations: 25.64 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.2993, allocations: 330.8 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.2993, allocations: 23.98 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.2994, allocations: 19.98 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2996, allocations: 60.83 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2996, allocations: 0 / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001979/0.2998, allocations: 109.5 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2998, allocations: 4 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2998, allocations: 4 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2998, allocations: 3.938 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.2999, allocations: 19.98 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2999, allocations: 3.938 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.2999, allocations: 4 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2999, allocations: 4 kB / 0.5655 GB, free: 15.12 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.656e-05/0.3, allocations: 129.8 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.3001, allocations: 11.91 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.3003, allocations: 119 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3003, allocations: 0 / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3003, allocations: 3.938 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3003, allocations: 4 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.3008, allocations: 358.8 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3008, allocations: 4.031 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/0.3009, allocations: 27.92 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3009, allocations: 0 / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3009, allocations: 4 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3009, allocations: 0 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3009, allocations: 0 / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3011, allocations: 204.2 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.3012, allocations: 11.89 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3012, allocations: 3.984 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.3012, allocations: 12 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.3013, allocations: 7.984 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3013, allocations: 4 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3014, allocations: 153.8 kB / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3014, allocations: 0 / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.3016, allocations: 27.88 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002134/0.3038, allocations: 1.131 MB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.304, allocations: 63.95 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.304, allocations: 0 / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.3041, allocations: 31.92 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3044, allocations: 23.8 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3062, allocations: 1.639 MB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.385e-05/0.3063, allocations: 88.19 kB / 0.5694 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.93e-05/0.3063, allocations: 20.95 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.3064, allocations: 31.42 kB / 0.5695 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3064, allocations: 0 / 0.5695 GB, free: 11.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.3333, allocations: 3.659 MB / 0.5731 GB, free: 7.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.07, allocations: 6.172 kB / 0.5731 GB, free: 7.406 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_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_CombiTable1Ds_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.085129846993368]