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.001025/0.001025, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009073/0.0009073, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9065/0.9065, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.278/0.278, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 2.304e-06/2.304e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.465e-05, allocations: 4.531 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.2084/0.2085, allocations: 1.595 MB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00078/0.2092, allocations: 0.5537 MB / 444.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.2093, allocations: 3.594 kB / 444.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.2095, allocations: 20.61 kB / 444.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.2097, allocations: 81.7 kB / 444.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.2099, allocations: 114.3 kB / 444.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2101, allocations: 75.38 kB / 444.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2102, allocations: 12.38 kB / 444.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.2102, allocations: 34.36 kB / 444.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.2103, allocations: 22.66 kB / 444.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2103, allocations: 2.906 kB / 444.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.2104, allocations: 104.8 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.2105, allocations: 16.78 kB / 444.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.2105, allocations: 17.16 kB / 444.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.2107, allocations: 154.1 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2107, allocations: 0 / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2107, allocations: 0 / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.2107, allocations: 4.75 kB / 445 MB, free: 43.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003396/0.211, allocations: 325.8 kB / 445.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2111, allocations: 8.75 kB / 445.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.147e-05/0.2111, allocations: 37.06 kB / 445.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.2111, allocations: 7.828 kB / 445.3 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2112, allocations: 141.6 kB / 445.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.2112, allocations: 3.125 kB / 445.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2113, allocations: 3.469 kB / 445.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2114, allocations: 93.02 kB / 445.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2114, allocations: 4 kB / 445.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.2114, allocations: 2.781 kB / 445.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2114, allocations: 4.125 kB / 445.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.2114, allocations: 20.88 kB / 445.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.2117, allocations: 259 kB / 445.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.2118, allocations: 48.64 kB / 445.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.2118, allocations: 22.66 kB / 445.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2118, allocations: 1.906 kB / 445.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2118, allocations: 37.38 kB / 446 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2118, allocations: 0 / 446 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003855/0.2122, allocations: 189 kB / 446.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2123, allocations: 79.8 kB / 446.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.2123, allocations: 151.2 kB / 446.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.2123, allocations: 25.7 kB / 446.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.2124, allocations: 100.3 kB / 446.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.2124, allocations: 22.52 kB / 446.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.2124, allocations: 23.08 kB / 446.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.906e-05/0.2124, allocations: 321.5 kB / 446.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.2125, allocations: 24.95 kB / 446.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.2125, allocations: 78.14 kB / 447 MB, free: 41.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.787e-05/0.2126, allocations: 72.59 kB / 447 MB, free: 41.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2126, allocations: 3.938 kB / 447 MB, free: 41.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001048/0.2127, allocations: 107.8 kB / 447.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.2127, allocations: 5.531 kB / 447.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2127, allocations: 4.031 kB / 447.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2127, allocations: 0 / 447.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.2128, allocations: 21.98 kB / 447.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2128, allocations: 0 / 447.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.2128, allocations: 10.08 kB / 447.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2128, allocations: 2.719 kB / 447.2 MB, free: 41.38 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 4.051e-05/0.2129, allocations: 118.5 kB / 447.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.2129, allocations: 11.7 kB / 447.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.213, allocations: 123.6 kB / 447.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.213, allocations: 3.938 kB / 447.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.213, allocations: 0 / 447.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.213, allocations: 0 / 447.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.2133, allocations: 352.8 kB / 447.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2133, allocations: 3 kB / 447.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.2133, allocations: 18.62 kB / 447.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2133, allocations: 0 / 447.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2133, allocations: 0 / 447.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2133, allocations: 4.547 kB / 447.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2133, allocations: 3 kB / 447.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.2134, allocations: 203 kB / 448 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.2134, allocations: 9.641 kB / 448 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2134, allocations: 2.531 kB / 448 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.512e-05/0.2135, allocations: 6.5 kB / 448 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.2135, allocations: 9.969 kB / 448 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2135, allocations: 3.938 kB / 448 MB, free: 40.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.01e-05/0.2136, allocations: 119.1 kB / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2136, allocations: 4 kB / 448.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.2137, allocations: 45.44 kB / 448.2 MB, free: 40.7 MB / 410.7 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.0008867/0.2146, allocations: 1.155 MB / 449.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.2147, allocations: 73.25 kB / 449.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2147, allocations: 2.688 kB / 449.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.2148, allocations: 32.75 kB / 449.5 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.215, allocations: 28.25 kB / 449.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.2159, allocations: 1.528 MB / 451 MB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.188e-05/0.2159, allocations: 81.02 kB / 451.1 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.926e-05/0.216, allocations: 25.47 kB / 451.1 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.216, allocations: 29.56 kB / 451.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.216, allocations: 0 / 451.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.2322, allocations: 4.275 MB / 455.4 MB, free: 37.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.869, allocations: 7.734 kB / 455.4 MB, free: 37.05 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/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: 10.114219863899052]