Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001302/0.001302, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001448/0.001448, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.93/0.93, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2431/0.2431, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.28e-05, allocations: 2.281 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002172/0.002195, allocations: 1.611 MB / 441.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.002844, allocations: 0.5258 MB / 441.7 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.002903, allocations: 7.938 kB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.003153, allocations: 75.69 kB / 441.8 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.003395, allocations: 99.53 kB / 441.9 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.00359, allocations: 98.69 kB / 442 MB, free: 1.789 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.00373, allocations: 83.75 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.003828, allocations: 8 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.211e-05/0.00389, allocations: 47.88 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.003974, allocations: 43.89 kB / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.003989, allocations: 4 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.004063, allocations: 51.84 kB / 442.3 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.004117, allocations: 19.88 kB / 442.3 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.004143, allocations: 15.92 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.004291, allocations: 103.6 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004294, allocations: 0 / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004295, allocations: 4 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.004299, allocations: 0 / 442.4 MB, free: 1.414 MB / 410.7 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.0003764/0.004676, allocations: 337.7 kB / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.004713, allocations: 12.03 kB / 442.7 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.004741, allocations: 30.75 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.004769, allocations: 12.84 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.0049, allocations: 146.1 kB / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.004909, allocations: 384 / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.00493, allocations: 8.375 kB / 442.9 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.00504, allocations: 50.19 kB / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.00505, allocations: 4.188 kB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.005059, allocations: 3.938 kB / 443 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.005064, allocations: 4 kB / 443 MB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.005126, allocations: 27.97 kB / 443 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.005417, allocations: 259.9 kB / 443.3 MB, free: 436 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.005496, allocations: 50.48 kB / 443.3 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.005526, allocations: 20.94 kB / 443.3 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.005546, allocations: 0 / 443.3 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.005565, allocations: 30.56 kB / 443.4 MB, free: 312 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.005566, allocations: 4 kB / 443.4 MB, free: 308 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005634/0.006129, allocations: 217.2 kB / 443.6 MB, free: 84 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.006159, allocations: 55.41 kB / 443.6 MB, free: 16 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1911/0.1973, allocations: 194.2 kB / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1973, allocations: 28.8 kB / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.1973, allocations: 106.8 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.1974, allocations: 25.19 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1974, allocations: 27.3 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.1974, allocations: 325.5 kB / 444.3 MB, free: 46.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.1975, allocations: 25.62 kB / 444.4 MB, free: 46.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.1976, allocations: 28.3 kB / 444.4 MB, free: 46.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.221e-05/0.1976, allocations: 66.25 kB / 444.4 MB, free: 46.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1976, allocations: 0 / 444.4 MB, free: 46.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001438/0.1978, allocations: 105.7 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1978, allocations: 5.75 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1978, allocations: 1.781 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1978, allocations: 0 / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.1979, allocations: 17.52 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1979, allocations: 2.484 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.1979, allocations: 8.031 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.198, allocations: 7.25 kB / 444.6 MB, free: 45.99 MB / 410.7 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 5.39e-05/0.198, allocations: 122.6 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.198, allocations: 14.36 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.1982, allocations: 119.4 kB / 444.8 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1982, allocations: 5.719 kB / 444.8 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1982, allocations: 3.969 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1982, allocations: 2.953 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.1985, allocations: 369.5 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1985, allocations: 1.594 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.1985, allocations: 17.88 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1985, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1986, allocations: 3.094 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1986, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1986, allocations: 10.28 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1987, allocations: 212.8 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.1987, allocations: 9.766 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1987, allocations: 3.938 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.1987, allocations: 7.266 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.1988, allocations: 6.406 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1988, allocations: 2.812 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.863e-05/0.1988, allocations: 155.2 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1988, allocations: 0 / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.199, allocations: 24.22 kB / 445.7 MB, free: 45.34 MB / 410.7 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.0009109/0.1999, allocations: 1.119 MB / 446.8 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.2001, allocations: 61.41 kB / 446.8 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2001, allocations: 4 kB / 446.8 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/0.2001, allocations: 36.84 kB / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2004, allocations: 16.8 kB / 446.9 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2014, allocations: 1.651 MB / 448.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.2015, allocations: 97.78 kB / 448.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.2015, allocations: 12.27 kB / 448.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.2016, allocations: 33.67 kB / 448.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2016, allocations: 0 / 448.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.2186, allocations: 3.765 MB / 452.5 MB, free: 41.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/7.101, allocations: 6.031 kB / 452.5 MB, free: 41.83 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.283331425860524]