Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001374/0.001374, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001534/0.001534, allocations: 213.1 kB / 23.74 MB, free: 4.656 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.241/0.241, allocations: 46.94 MB / 360.9 MB, free: 4.273 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.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 66.04 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003359/0.3115, allocations: 1.629 MB / 0.5623 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3126, allocations: 0.5504 MB / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.3126, allocations: 4 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.3129, allocations: 119.6 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.3132, allocations: 135.5 kB / 0.5631 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.3135, allocations: 87.69 kB / 0.5631 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.3137, allocations: 107.7 kB / 0.5632 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.3138, allocations: 13.81 kB / 0.5633 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.3139, allocations: 51.81 kB / 0.5633 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.314, allocations: 95.7 kB / 0.5634 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.314, allocations: 4 kB / 0.5634 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.725e-05/0.3141, allocations: 39.98 kB / 0.5634 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.3142, allocations: 31.91 kB / 0.5635 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.3142, allocations: 35.69 kB / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.3145, allocations: 123.4 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3145, allocations: 0 / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3145, allocations: 3.938 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3145, allocations: 0 / 0.5636 GB, free: 1.434 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.000565/0.315, allocations: 373.3 kB / 0.564 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3151, allocations: 12.02 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.3151, allocations: 30.75 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3152, allocations: 20.84 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.3154, allocations: 158.4 kB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3154, allocations: 8.359 kB / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3154, allocations: 4.375 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3156, allocations: 49.62 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3156, allocations: 4 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3156, allocations: 4 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3156, allocations: 0 / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3157, allocations: 31.91 kB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.3161, allocations: 267.9 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3162, allocations: 38.5 kB / 0.5646 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.3162, allocations: 28.94 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3163, allocations: 4.062 kB / 0.5646 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.3163, allocations: 34.56 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3163, allocations: 0 / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008473/0.3171, allocations: 233.5 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3172, allocations: 59.34 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.3175, allocations: 279.8 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3175, allocations: 25.7 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.3176, allocations: 116.1 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.3176, allocations: 23.75 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.3177, allocations: 25.7 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3178, allocations: 326.8 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.3179, allocations: 27.98 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.318, allocations: 23.97 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3181, allocations: 68.98 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3181, allocations: 3.938 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002189/0.3184, allocations: 109.6 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3184, allocations: 4 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3184, allocations: 0 / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3184, allocations: 4 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.3185, allocations: 15.98 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3185, allocations: 3.938 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.3185, allocations: 7.984 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3185, allocations: 4 kB / 0.5659 GB, free: 14.85 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.0001346/0.3187, allocations: 139.1 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3187, allocations: 19.89 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.319, allocations: 119 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.319, allocations: 0 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.319, allocations: 3.938 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.319, allocations: 4 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.3195, allocations: 386.3 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3195, allocations: 4 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.3196, allocations: 23.86 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.3196, allocations: 4 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3196, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3196, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3196, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3199, allocations: 212.3 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.3199, allocations: 19.83 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3199, allocations: 0 / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.32, allocations: 7.938 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.3201, allocations: 7.984 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3201, allocations: 7.938 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.3202, allocations: 208.1 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3202, allocations: 0 / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3205, allocations: 31.92 kB / 0.5671 GB, free: 13.59 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.002177/0.3227, allocations: 1.101 MB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.3229, allocations: 59.91 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3229, allocations: 4 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.323, allocations: 39.97 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3234, allocations: 25.39 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.3255, allocations: 1.797 MB / 0.57 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3258, allocations: 0.7252 MB / 0.5707 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.3259, allocations: 16.95 kB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.326, allocations: 39.42 kB / 0.5708 GB, free: 9.824 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.326, allocations: 0 / 0.5708 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3547, allocations: 3.562 MB / 0.5743 GB, free: 6.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.57, allocations: 14.14 kB / 0.5743 GB, free: 6.316 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.748498793996987]