Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001088/0.001088, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001027/0.001027, 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.9983/0.9983, allocations: 177 MB / 204.1 MB, free: 5.77 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.2812/0.2812, allocations: 34.23 MB / 294.8 MB, free: 0.6914 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.737e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.155e-05, allocations: 2.281 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.2149/0.215, allocations: 1.594 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2167, allocations: 1.253 MB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.2168, allocations: 0 / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.2171, allocations: 26.02 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004782/0.2176, allocations: 89.62 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.2179, allocations: 112.9 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.2181, allocations: 69.75 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2182, allocations: 5.875 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.2183, allocations: 33.88 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2184, allocations: 29.52 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.2185, allocations: 5.656 kB / 445.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.2187, allocations: 96.5 kB / 445.5 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.2187, allocations: 9.375 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.2188, allocations: 19.12 kB / 445.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.219, allocations: 146.5 kB / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2191, allocations: 0 / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2191, allocations: 0 / 445.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2191, allocations: 0 / 445.6 MB, free: 42.96 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.0004876/0.2196, allocations: 329.1 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2196, allocations: 8.125 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.2196, allocations: 37.44 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.2197, allocations: 7.547 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.2198, allocations: 142.6 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2199, allocations: 384 / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.2199, allocations: 3.969 kB / 446.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.22, allocations: 89.78 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.22, allocations: 192 / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2201, allocations: 3.312 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2201, allocations: 4.125 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.2201, allocations: 26.77 kB / 446.3 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.2205, allocations: 251.9 kB / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2207, allocations: 41.36 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.2207, allocations: 15.58 kB / 446.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2208, allocations: 11.36 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2208, allocations: 34.06 kB / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.2208, allocations: 0 / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005197/0.2213, allocations: 152 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.2213, allocations: 81.11 kB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2215, allocations: 149.5 kB / 447 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.2215, allocations: 25.7 kB / 447 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.2215, allocations: 94.12 kB / 447.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2215, allocations: 18.23 kB / 447.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.2216, allocations: 19.59 kB / 447.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.2216, allocations: 320.8 kB / 447.5 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.2217, allocations: 26.8 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.2217, allocations: 60.55 kB / 447.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.2218, allocations: 53.14 kB / 447.6 MB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2218, allocations: 6.688 kB / 447.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.222, allocations: 83.58 kB / 447.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.222, allocations: 9.656 kB / 447.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.222, allocations: 5.906 kB / 447.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.222, allocations: 0 / 447.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.2221, allocations: 21.72 kB / 447.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2221, allocations: 0 / 447.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.2221, allocations: 6.281 kB / 447.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.2221, allocations: 2.875 kB / 447.7 MB, free: 41.14 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 (5): * Single equations (assignments): 5 * 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 6.692e-05/0.2222, allocations: 116.8 kB / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.2222, allocations: 9.547 kB / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.2224, allocations: 100.9 kB / 448 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2224, allocations: 1.5 kB / 448 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2224, allocations: 0 / 448 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2225, allocations: 0 / 448 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.2228, allocations: 328.5 kB / 448.3 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2228, allocations: 0 / 448.3 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.2228, allocations: 14.88 kB / 448.3 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2228, allocations: 0 / 448.3 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2228, allocations: 4 kB / 448.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2228, allocations: 7.25 kB / 448.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2228, allocations: 2.969 kB / 448.3 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.223, allocations: 184.2 kB / 448.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.223, allocations: 10.28 kB / 448.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.223, allocations: 0 / 448.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.223, allocations: 2.844 kB / 448.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.2231, allocations: 10.42 kB / 448.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2231, allocations: 0 / 448.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.897e-05/0.2231, allocations: 116.2 kB / 448.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2231, allocations: 4 kB / 448.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.2234, allocations: 42.55 kB / 448.7 MB, free: 40.39 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 (5): * Single equations (assignments): 5 * 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.001198/0.2246, allocations: 1.138 MB / 449.8 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.2248, allocations: 51.61 kB / 449.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2248, allocations: 2.75 kB / 449.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.2248, allocations: 21.81 kB / 449.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.2252, allocations: 22.7 kB / 449.9 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2266, allocations: 1.464 MB / 451.4 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.2267, allocations: 80.19 kB / 451.5 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.2268, allocations: 25.83 kB / 451.5 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.2268, allocations: 25.67 kB / 451.5 MB, free: 38.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2268, allocations: 0 / 451.5 MB, free: 38.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.2495, allocations: 4.008 MB / 455.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.632, allocations: 7.547 kB / 455.5 MB, free: 36.75 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.993934791535139]