Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001169/0.001169, 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.0008527/0.0008527, 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.936/0.936, allocations: 177 MB / 204.1 MB, free: 5.75 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.2639/0.2639, allocations: 34.25 MB / 294.8 MB, free: 0.6797 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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.106e-05, allocations: 5.094 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.2128/0.2128, allocations: 1.592 MB / 443.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.2136, allocations: 0.5231 MB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.2137, allocations: 2.812 kB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.2139, allocations: 32.78 kB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.2143, allocations: 88.95 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.2146, allocations: 108.6 kB / 444.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.2147, allocations: 67.77 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2148, allocations: 12.92 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.2149, allocations: 27.06 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.215, allocations: 19.73 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.215, allocations: 2.938 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.2151, allocations: 35.75 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.2151, allocations: 18.83 kB / 444.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.2152, allocations: 13.72 kB / 444.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2153, allocations: 87.34 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2153, allocations: 1.219 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2153, allocations: 0 / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2153, allocations: 0 / 444.8 MB, free: 43.12 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.0003931/0.2157, allocations: 323.7 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2158, allocations: 8.156 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.2158, allocations: 39.72 kB / 445.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.2158, allocations: 7.516 kB / 445.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.216, allocations: 132.5 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.216, allocations: 10.91 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.216, allocations: 384 / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.2161, allocations: 49.78 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2161, allocations: 192 / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2161, allocations: 7.188 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2161, allocations: 2.656 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.2162, allocations: 22.59 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.2165, allocations: 249.1 kB / 445.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2167, allocations: 58.7 kB / 445.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.2167, allocations: 13.95 kB / 445.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.2167, allocations: 6.969 kB / 445.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.2167, allocations: 34.5 kB / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.2167, allocations: 0 / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004223/0.2172, allocations: 157.4 kB / 445.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.2172, allocations: 58.91 kB / 446 MB, free: 42.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2173, allocations: 172.8 kB / 446.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-06/0.2173, allocations: 28.2 kB / 446.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.2173, allocations: 97.92 kB / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2173, allocations: 14.69 kB / 446.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.2174, allocations: 22.64 kB / 446.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.975e-05/0.2174, allocations: 324.6 kB / 446.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.2174, allocations: 18.72 kB / 446.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.2175, allocations: 24.41 kB / 446.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/0.2175, allocations: 52.86 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2175, allocations: 0 / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.779e-05/0.2176, allocations: 88.88 kB / 446.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2176, allocations: 5.875 kB / 446.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2177, allocations: 0 / 446.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2177, allocations: 4 kB / 446.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.2177, allocations: 18.92 kB / 446.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2177, allocations: 1.875 kB / 446.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.2177, allocations: 10.77 kB / 446.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2178, allocations: 2.5 kB / 446.8 MB, free: 41.56 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 4.789e-05/0.2178, allocations: 129.7 kB / 446.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.2178, allocations: 6.891 kB / 447 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.218, allocations: 99.81 kB / 447.1 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.218, allocations: 4 kB / 447.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.218, allocations: 0 / 447.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.218, allocations: 0 / 447.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.2182, allocations: 327.7 kB / 447.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2182, allocations: 0 / 447.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.2183, allocations: 14.36 kB / 447.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2183, allocations: 0 / 447.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2183, allocations: 0 / 447.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2183, allocations: 6.312 kB / 447.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2183, allocations: 7.938 kB / 447.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.2184, allocations: 186.8 kB / 447.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.2184, allocations: 6.297 kB / 447.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2184, allocations: 0 / 447.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.512e-05/0.2184, allocations: 8.188 kB / 447.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.2184, allocations: 0 / 447.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.2185, allocations: 14.05 kB / 447.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.887e-05/0.2185, allocations: 138.9 kB / 447.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2185, allocations: 0 / 447.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.2187, allocations: 18.62 kB / 447.8 MB, free: 40.89 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.0008843/0.2196, allocations: 1.024 MB / 448.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.2198, allocations: 56.94 kB / 448.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.2198, allocations: 2.906 kB / 448.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.2198, allocations: 20.91 kB / 448.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.2201, allocations: 32.33 kB / 448.9 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2212, allocations: 1.527 MB / 450.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.911e-05/0.2213, allocations: 89.47 kB / 450.5 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.628e-05/0.2213, allocations: 16.16 kB / 450.5 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.2214, allocations: 30.7 kB / 450.6 MB, free: 38.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.814e-06/0.2214, allocations: 0 / 450.6 MB, free: 38.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.2414, allocations: 3.386 MB / 453.9 MB, free: 37.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.104, allocations: 12.17 kB / 454 MB, free: 37.55 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.325353923253715]