Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.0009581/0.0009581, 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.0009174/0.0009174, 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.9115/0.9115, allocations: 158.6 MB / 185 MB, free: 3.031 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.1338/0.1338, 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.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.974e-05, allocations: 2.281 kB / 406.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002544/0.002564, allocations: 1.553 MB / 408.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005138/0.003077, allocations: 323.4 kB / 408.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.003146, allocations: 3.938 kB / 408.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.003377, allocations: 27.84 kB / 408.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.003565, allocations: 31.8 kB / 408.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.003824, allocations: 99.67 kB / 408.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.003976, allocations: 55.84 kB / 408.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.004096, allocations: 15.97 kB / 408.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.004154, allocations: 19.92 kB / 409 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.004212, allocations: 19.92 kB / 409 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.004228, allocations: 0 / 409 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.004298, allocations: 31.92 kB / 409 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.004347, allocations: 19.86 kB / 409 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.00437, allocations: 8 kB / 409 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.004512, allocations: 67.8 kB / 409.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004515, allocations: 0 / 409.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.004516, allocations: 7.938 kB / 409.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004521, allocations: 0 / 409.1 MB, free: 11.23 MB / 346.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.0003411/0.004862, allocations: 309.8 kB / 409.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.004899, allocations: 12.03 kB / 409.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.004926, allocations: 30.75 kB / 409.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.004951, allocations: 8.891 kB / 409.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.005089, allocations: 125.7 kB / 409.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.0051, allocations: 4.359 kB / 409.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.005121, allocations: 8.328 kB / 409.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.005248, allocations: 50.19 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.005259, allocations: 8.188 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005269, allocations: 3.938 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005274, allocations: 3.984 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.005331, allocations: 19.98 kB / 409.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.005629, allocations: 244 kB / 409.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.005806, allocations: 46.44 kB / 410 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.005837, allocations: 24.94 kB / 410 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.005859, allocations: 0 / 410 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.005879, allocations: 38.56 kB / 410 MB, free: 10.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.005879, allocations: 0 / 410 MB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003977/0.006277, allocations: 141.4 kB / 410.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.006308, allocations: 63.39 kB / 410.2 MB, free: 9.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.006403, allocations: 141.9 kB / 410.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.006413, allocations: 25.7 kB / 410.4 MB, free: 9.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.006452, allocations: 92.08 kB / 410.5 MB, free: 9.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.00647, allocations: 19.84 kB / 410.5 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.006498, allocations: 25.72 kB / 410.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.006574, allocations: 318.8 kB / 410.8 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.006616, allocations: 23.97 kB / 410.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.006647, allocations: 19.98 kB / 410.9 MB, free: 9.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.006718, allocations: 52.77 kB / 410.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006719, allocations: 0 / 410.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001026/0.006822, allocations: 81.66 kB / 411 MB, free: 9.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.006834, allocations: 11.94 kB / 411 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006839, allocations: 4 kB / 411 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006849, allocations: 0 / 411 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.672e-05/0.006886, allocations: 8 kB / 411 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.00689, allocations: 0 / 411 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.006911, allocations: 11.98 kB / 411.1 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.006916, allocations: 0 / 411.1 MB, free: 9.098 MB / 346.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.658e-05/0.006983, allocations: 121.8 kB / 411.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.006999, allocations: 7.953 kB / 411.2 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.007145, allocations: 109.9 kB / 411.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.007148, allocations: 0 / 411.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007152, allocations: 0 / 411.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.007156, allocations: 4 kB / 411.3 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.007429, allocations: 321.9 kB / 411.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007431, allocations: 3.938 kB / 411.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.00746, allocations: 8 kB / 411.6 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.007462, allocations: 0 / 411.6 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.007469, allocations: 4 kB / 411.6 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.007471, allocations: 0 / 411.6 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007472, allocations: 4 kB / 411.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.007592, allocations: 183.4 kB / 411.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.0076, allocations: 4 kB / 411.8 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007612, allocations: 3.984 kB / 411.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.102e-05/0.007643, allocations: 4 kB / 411.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.007675, allocations: 7.984 kB / 411.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.007679, allocations: 3.938 kB / 411.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.007731, allocations: 111.3 kB / 411.9 MB, free: 8.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007731, allocations: 0 / 411.9 MB, free: 8.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.007898, allocations: 19.88 kB / 412 MB, free: 8.113 MB / 346.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.0009354/0.008834, allocations: 1.037 MB / 413 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.00897, allocations: 51.89 kB / 413 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008972, allocations: 0 / 413 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/0.009007, allocations: 27.98 kB / 413.1 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.009272, allocations: 27.66 kB / 413.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.01029, allocations: 1.432 MB / 414.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.641e-05/0.01035, allocations: 95.16 kB / 414.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.666e-05/0.0104, allocations: 11.98 kB / 414.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.01044, allocations: 20.5 kB / 414.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01044, allocations: 0 / 414.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.02634, allocations: 3.193 MB / 417.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.417/6.443, allocations: 8.016 kB / 417.9 MB, free: 2.027 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.434199965558946]