Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001118/0.001118, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.00124/0.00124, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9232/0.9232, 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.2613/0.2613, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 3.938 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.93e-05, allocations: 5.094 kB / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002188/0.002217, allocations: 1.623 MB / 441.2 MB, free: 2.578 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006849/0.002902, allocations: 0.5297 MB / 441.8 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.002963, allocations: 0 / 441.8 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.003209, allocations: 83.58 kB / 441.8 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.003476, allocations: 111.5 kB / 441.9 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.003721, allocations: 114.5 kB / 442.1 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.003865, allocations: 83.75 kB / 442.1 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.003959, allocations: 15.98 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.004023, allocations: 43.89 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.922e-05/0.004112, allocations: 51.88 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.004126, allocations: 4 kB / 442.3 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.004204, allocations: 47.91 kB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.004252, allocations: 31.86 kB / 442.3 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.004278, allocations: 15.88 kB / 442.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004432, allocations: 103.6 kB / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004434, allocations: 0 / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004435, allocations: 0 / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004439, allocations: 0 / 442.5 MB, free: 1.352 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.0003608/0.004799, allocations: 341.6 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.004835, allocations: 16.02 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.004868, allocations: 34.75 kB / 442.8 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.004897, allocations: 16.78 kB / 442.8 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.00503, allocations: 146.3 kB / 443 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.005037, allocations: 384 / 443 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.005054, allocations: 4.375 kB / 443 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.005158, allocations: 54.23 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005168, allocations: 192 / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.005177, allocations: 3.938 kB / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.005181, allocations: 0 / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.00524, allocations: 31.91 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.005526, allocations: 267.9 kB / 443.3 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.005605, allocations: 50.53 kB / 443.4 MB, free: 288 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.005632, allocations: 16.86 kB / 443.4 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.005653, allocations: 12.02 kB / 443.4 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.00567, allocations: 30.56 kB / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.005671, allocations: 0 / 443.5 MB, free: 216 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1902/0.1958, allocations: 240.1 kB / 443.7 MB, free: 46.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1959, allocations: 51.41 kB / 443.7 MB, free: 46.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1961, allocations: 217.2 kB / 444 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1961, allocations: 26.45 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.1961, allocations: 106.4 kB / 444.1 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1961, allocations: 23.83 kB / 444.1 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1962, allocations: 23.19 kB / 444.1 MB, free: 46.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.1962, allocations: 327.6 kB / 444.4 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.1963, allocations: 31.92 kB / 444.5 MB, free: 45.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-05/0.1963, allocations: 35.84 kB / 444.5 MB, free: 45.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.1964, allocations: 75.39 kB / 444.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1964, allocations: 0 / 444.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001467/0.1966, allocations: 114.3 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1966, allocations: 6.516 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1966, allocations: 7.531 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1966, allocations: 0.5625 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.1967, allocations: 22.73 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1967, allocations: 0 / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.1967, allocations: 7.906 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1967, allocations: 2.812 kB / 444.7 MB, free: 45.84 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.782e-05/0.1968, allocations: 133.4 kB / 444.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.1968, allocations: 8.328 kB / 444.9 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.197, allocations: 136.9 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.197, allocations: 2.438 kB / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.197, allocations: 0 / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.197, allocations: 0 / 445 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.1974, allocations: 391.3 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1974, allocations: 3.594 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.1974, allocations: 16 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1974, allocations: 5.562 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1974, allocations: 0 / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.1974, allocations: 5.688 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1974, allocations: 0 / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.1976, allocations: 214.5 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.1976, allocations: 13.25 kB / 445.7 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1976, allocations: 12.94 kB / 445.7 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.1976, allocations: 7.031 kB / 445.7 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1976, allocations: 6.031 kB / 445.7 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1977, allocations: 2.594 kB / 445.7 MB, free: 45.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.026e-05/0.1977, allocations: 164.6 kB / 445.8 MB, free: 45.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1977, allocations: 0 / 445.8 MB, free: 45.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001886/0.1979, allocations: 20.34 kB / 445.9 MB, free: 45.2 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.0009734/0.1989, allocations: 1.132 MB / 447 MB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.1991, allocations: 72.03 kB / 447.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1991, allocations: 0 / 447.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.1991, allocations: 43.98 kB / 447.1 MB, free: 44.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1994, allocations: 27.45 kB / 447.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.2006, allocations: 1.717 MB / 448.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.2006, allocations: 99.08 kB / 448.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.2007, allocations: 21.52 kB / 449 MB, free: 43.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.2007, allocations: 40.95 kB / 449 MB, free: 43 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2007, allocations: 0 / 449 MB, free: 43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.2174, allocations: 3.865 MB / 452.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.773/6.99, allocations: 6.859 kB / 452.9 MB, free: 41.64 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.174722515977919]