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.0009744/0.0009744, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008703/0.0008703, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8681/0.8681, allocations: 158.6 MB / 185 MB, free: 3.027 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.1272/0.1272, allocations: 32.37 MB / 269.6 MB, free: 14.95 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 1.563e-06/1.563e-06, allocations: 0 / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.172e-05, allocations: 2.281 kB / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002144/0.002166, allocations: 1.549 MB / 408.4 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004688/0.002635, allocations: 311.5 kB / 408.7 MB, free: 372 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.002684, allocations: 3.938 kB / 408.7 MB, free: 368 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.002886, allocations: 19.86 kB / 408.7 MB, free: 348 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.003052, allocations: 43.77 kB / 408.8 MB, free: 304 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.003242, allocations: 75.66 kB / 408.8 MB, free: 228 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.003389, allocations: 59.83 kB / 408.9 MB, free: 168 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.003484, allocations: 7.953 kB / 408.9 MB, free: 160 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.003539, allocations: 23.92 kB / 408.9 MB, free: 136 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.003589, allocations: 23.91 kB / 409 MB, free: 112 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003603, allocations: 4 kB / 409 MB, free: 108 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.003667, allocations: 35.86 kB / 409 MB, free: 72 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.003709, allocations: 8 kB / 409 MB, free: 64 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.003735, allocations: 11.92 kB / 409 MB, free: 52 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.003881, allocations: 75.72 kB / 409.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003884, allocations: 3.938 kB / 409.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003885, allocations: 0 / 409.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.003889, allocations: 0 / 409.1 MB, free: 15.97 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.0003293/0.004218, allocations: 298 kB / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.004254, allocations: 8.031 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.004281, allocations: 42.73 kB / 409.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.004307, allocations: 8.891 kB / 409.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.004429, allocations: 129.6 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.004438, allocations: 8.312 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.004454, allocations: 4.312 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.004555, allocations: 46.25 kB / 409.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.004565, allocations: 4.188 kB / 409.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.004573, allocations: 3.938 kB / 409.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.004577, allocations: 0 / 409.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.00463, allocations: 27.95 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.004879, allocations: 232.1 kB / 409.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.005043, allocations: 46.53 kB / 409.9 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.005069, allocations: 20.84 kB / 410 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.005092, allocations: 4 kB / 410 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.005108, allocations: 30.56 kB / 410 MB, free: 14.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.005109, allocations: 0 / 410 MB, free: 14.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003836/0.005492, allocations: 149.3 kB / 410.1 MB, free: 14.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.005521, allocations: 55.41 kB / 410.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.005614, allocations: 142.1 kB / 410.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.005625, allocations: 29.7 kB / 410.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.005661, allocations: 88.14 kB / 410.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.005679, allocations: 19.86 kB / 410.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.005706, allocations: 21.7 kB / 410.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.005772, allocations: 314.8 kB / 410.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.005808, allocations: 19.98 kB / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.005838, allocations: 23.98 kB / 410.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/0.005902, allocations: 44.77 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.005903, allocations: 0 / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.751e-05/0.006001, allocations: 81.62 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006011, allocations: 4 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006016, allocations: 0 / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.006027, allocations: 4 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.332e-05/0.006061, allocations: 11.98 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.006065, allocations: 4 kB / 411 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.006084, allocations: 7.984 kB / 411 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.006088, allocations: 0 / 411 MB, free: 13.88 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 5.966e-05/0.006148, allocations: 117.8 kB / 411.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.006163, allocations: 11.89 kB / 411.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.006294, allocations: 101.9 kB / 411.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.006296, allocations: 0 / 411.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006299, allocations: 0 / 411.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006302, allocations: 4.312 kB / 411.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.006549, allocations: 313.5 kB / 411.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00655, allocations: 0 / 411.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.006576, allocations: 15.98 kB / 411.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.006578, allocations: 0 / 411.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.006583, allocations: 0 / 411.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006584, allocations: 0 / 411.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.006585, allocations: 0 / 411.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.0067, allocations: 183.4 kB / 411.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.006707, allocations: 7.953 kB / 411.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.006718, allocations: 0 / 411.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/0.006749, allocations: 4 kB / 411.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.006778, allocations: 3.984 kB / 411.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.006782, allocations: 7.938 kB / 411.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.006832, allocations: 110.6 kB / 411.8 MB, free: 12.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006832, allocations: 3.938 kB / 411.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.006988, allocations: 15.98 kB / 411.9 MB, free: 12.92 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.0008263/0.007815, allocations: 1.027 MB / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.007929, allocations: 43.91 kB / 412.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00793, allocations: 4 kB / 412.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.007964, allocations: 19.98 kB / 413 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.008214, allocations: 19.92 kB / 413 MB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.00916, allocations: 1.416 MB / 414.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.776e-05/0.009208, allocations: 75.27 kB / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.009241, allocations: 11.98 kB / 414.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.009281, allocations: 24.48 kB / 414.5 MB, free: 10.19 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009281, allocations: 4 kB / 414.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.02252, allocations: 3.166 MB / 417.7 MB, free: 6.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/6.488, allocations: 11.92 kB / 417.7 MB, free: 6.871 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.41404060460627]