Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0007942/0.0007942, allocations: 75.7 kB / 20.01 MB, free: 4.504 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.0008473/0.0008473, allocations: 169.9 kB / 23.32 MB, free: 1.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9083/0.9083, allocations: 158.6 MB / 185.1 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1399/0.1399, allocations: 32.37 MB / 269.7 MB, free: 14.9 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 407.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.4e-05, allocations: 6.078 kB / 407.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003604/0.003638, allocations: 1.549 MB / 408.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006449/0.004283, allocations: 307.5 kB / 408.9 MB, free: 240 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.004348, allocations: 0 / 408.9 MB, free: 240 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.004632, allocations: 27.73 kB / 409 MB, free: 212 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.004895, allocations: 35.84 kB / 409 MB, free: 176 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.005171, allocations: 71.72 kB / 409.1 MB, free: 104 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.005331, allocations: 59.78 kB / 409.1 MB, free: 44 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005445, allocations: 19.94 kB / 409.1 MB, free: 24 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.00551, allocations: 23.91 kB / 409.2 MB, free: 0 / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.00559, allocations: 15.98 kB / 409.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.005608, allocations: 0 / 409.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.005689, allocations: 31.88 kB / 409.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.005748, allocations: 19.91 kB / 409.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.00578, allocations: 8 kB / 409.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.005955, allocations: 71.73 kB / 409.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005958, allocations: 3.938 kB / 409.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.005962, allocations: 0 / 409.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.005967, allocations: 3.938 kB / 409.3 MB, free: 15.85 MB / 394.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.0004542/0.006421, allocations: 310 kB / 409.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.006465, allocations: 8.031 kB / 409.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.006502, allocations: 34.75 kB / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.006532, allocations: 4.891 kB / 409.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.00698, allocations: 133.6 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.00699, allocations: 4.375 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.007013, allocations: 384 / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.007157, allocations: 54.23 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.007171, allocations: 192 / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.007183, allocations: 3.938 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.007189, allocations: 4 kB / 409.9 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.007267, allocations: 23.92 kB / 409.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.007637, allocations: 232.1 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.007887, allocations: 46.5 kB / 410.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.00793, allocations: 12.86 kB / 410.2 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.007957, allocations: 7.938 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.007982, allocations: 34.64 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.007983, allocations: 0 / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005475/0.008531, allocations: 157.3 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.00857, allocations: 51.41 kB / 410.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.008712, allocations: 138.1 kB / 410.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.008728, allocations: 25.7 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.008782, allocations: 92.14 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.008808, allocations: 19.84 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.008847, allocations: 21.66 kB / 410.7 MB, free: 14.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.008956, allocations: 322.8 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.009006, allocations: 19.98 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.009053, allocations: 19.98 kB / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.673e-05/0.009149, allocations: 40.84 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009151, allocations: 0 / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/0.009307, allocations: 85.55 kB / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.009326, allocations: 4 kB / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.009332, allocations: 0 / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.009355, allocations: 8 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.00941, allocations: 8 kB / 411.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.009416, allocations: 0 / 411.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.009447, allocations: 7.984 kB / 411.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.009454, allocations: 0 / 411.2 MB, free: 13.75 MB / 394.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 8.874e-05/0.009543, allocations: 117.8 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.009571, allocations: 11.89 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.009782, allocations: 94.06 kB / 411.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.009785, allocations: 7.938 kB / 411.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.009793, allocations: 3.984 kB / 411.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.009796, allocations: 320 / 411.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.01019, allocations: 313.6 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.0102, allocations: 0 / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.01024, allocations: 12 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01024, allocations: 0 / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01025, allocations: 0 / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01025, allocations: 0 / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01025, allocations: 4 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.01044, allocations: 183.3 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.01046, allocations: 7.953 kB / 411.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.01047, allocations: 0 / 411.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.01053, allocations: 7.984 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.01057, allocations: 0 / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01058, allocations: 7.938 kB / 412 MB, free: 12.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.906e-05/0.01066, allocations: 118.9 kB / 412.1 MB, free: 12.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01066, allocations: 0 / 412.1 MB, free: 12.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.01094, allocations: 8 kB / 412.1 MB, free: 12.8 MB / 394.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.00127/0.01221, allocations: 1.033 MB / 413.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.01237, allocations: 47.95 kB / 413.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01237, allocations: 0 / 413.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.01242, allocations: 23.92 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.0128, allocations: 19.94 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.0143, allocations: 1.409 MB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.01437, allocations: 71.33 kB / 414.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.01442, allocations: 12 kB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.01449, allocations: 24.48 kB / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01449, allocations: 0 / 414.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.03606, allocations: 3.164 MB / 417.9 MB, free: 6.758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.882, allocations: 15.86 kB / 417.9 MB, free: 6.742 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_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_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.05816102027893]