Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0009034/0.0009034, 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.0008755/0.0008755, 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 1.008/1.008, allocations: 177 MB / 204.1 MB, free: 5.762 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.2946/0.2946, 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.293e-05/4.626e-05, allocations: 8.609 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.2339/0.2339, allocations: 1.586 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2355, allocations: 1.25 MB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.2356, allocations: 0 / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.2359, allocations: 27.25 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.2362, allocations: 88.77 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.2365, allocations: 113.9 kB / 445.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.2366, allocations: 65.25 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2368, allocations: 13.42 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.2368, allocations: 34.23 kB / 445.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2369, allocations: 29.44 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2369, allocations: 2.906 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.2371, allocations: 95.03 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.2372, allocations: 10.56 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2372, allocations: 16.86 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.2374, allocations: 146.4 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2374, allocations: 0 / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2374, allocations: 4.25 kB / 445.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2374, allocations: 2.906 kB / 445.6 MB, free: 42.99 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.0004493/0.2379, allocations: 326.3 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2379, allocations: 10.91 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.743e-05/0.238, allocations: 30.75 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.238, allocations: 10.45 kB / 446 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.2382, allocations: 140.4 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2382, allocations: 3.312 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.2382, allocations: 4.031 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2384, allocations: 90.55 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2384, allocations: 0.75 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2384, allocations: 3.609 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.2384, allocations: 6.75 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.2385, allocations: 23.75 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.2388, allocations: 249.8 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.239, allocations: 42.28 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.239, allocations: 20.58 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.239, allocations: 7.219 kB / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2391, allocations: 30.56 kB / 446.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.275e-06/0.2391, allocations: 2.906 kB / 446.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000472/0.2395, allocations: 157.9 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2396, allocations: 77.11 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2397, allocations: 148.8 kB / 447 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.2397, allocations: 25.7 kB / 447 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.2397, allocations: 94.36 kB / 447.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2397, allocations: 23.08 kB / 447.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2398, allocations: 15.97 kB / 447.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.278e-05/0.2398, allocations: 318 kB / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.2399, allocations: 24.48 kB / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.2399, allocations: 67.25 kB / 447.6 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.523e-05/0.24, allocations: 55.55 kB / 447.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.24, allocations: 3.938 kB / 447.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002395/0.2402, allocations: 84.41 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.2402, allocations: 5.781 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2403, allocations: 5.109 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.2403, allocations: 0 / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.2403, allocations: 8.438 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2404, allocations: 6.078 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.2404, allocations: 17.19 kB / 447.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2404, allocations: 0 / 447.7 MB, free: 41.16 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 7.351e-05/0.2405, allocations: 123 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.2405, allocations: 6.797 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.2408, allocations: 93.83 kB / 448 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.2408, allocations: 2.906 kB / 448 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2408, allocations: 0 / 448 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2408, allocations: 3.938 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.2414, allocations: 328 kB / 448.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2414, allocations: 0 / 448.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.2414, allocations: 14.36 kB / 448.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2414, allocations: 0 / 448.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2414, allocations: 0 / 448.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.2415, allocations: 3.25 kB / 448.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2415, allocations: 0 / 448.3 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.2416, allocations: 188.7 kB / 448.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.2416, allocations: 10.52 kB / 448.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.2417, allocations: 7.188 kB / 448.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/0.2417, allocations: 5.688 kB / 448.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.2417, allocations: 5.703 kB / 448.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2418, allocations: 0 / 448.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.971e-05/0.2418, allocations: 114 kB / 448.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2418, allocations: 0 / 448.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.2421, allocations: 42.75 kB / 448.7 MB, free: 40.42 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.001174/0.2433, allocations: 1.138 MB / 449.8 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.2434, allocations: 56.84 kB / 449.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2434, allocations: 0 / 449.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.2435, allocations: 27.83 kB / 449.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2439, allocations: 17.38 kB / 449.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2451, allocations: 1.466 MB / 451.4 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.372e-05/0.2451, allocations: 82.95 kB / 451.5 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.2452, allocations: 18.39 kB / 451.5 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.2453, allocations: 32.53 kB / 451.5 MB, free: 38.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.725e-06/0.2453, allocations: 0 / 451.5 MB, free: 38.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.2699, allocations: 4.011 MB / 455.5 MB, free: 36.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/7.84, allocations: 4.641 kB / 455.5 MB, free: 36.78 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_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_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.198365126736462]