Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.0009072/0.0009072, 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.0008327/0.0008327, 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.8887/0.8887, 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.1261/0.1261, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 406.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.449e-05, allocations: 13.39 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002129/0.002153, allocations: 1.557 MB / 408.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004476/0.002601, allocations: 303.5 kB / 408.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.002652, allocations: 0 / 408.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.002908, allocations: 79.7 kB / 408.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.003092, allocations: 71.67 kB / 408.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.003394, allocations: 67.77 kB / 408.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.003528, allocations: 75.77 kB / 409 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.003625, allocations: 11.98 kB / 409 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.803e-05/0.003683, allocations: 35.91 kB / 409 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.054e-05/0.003774, allocations: 51.86 kB / 409.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.00379, allocations: 4 kB / 409.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.003856, allocations: 31.94 kB / 409.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.003903, allocations: 19.92 kB / 409.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.003928, allocations: 11.92 kB / 409.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.004076, allocations: 83.72 kB / 409.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.004078, allocations: 0 / 409.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004079, allocations: 4 kB / 409.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.004084, allocations: 3.938 kB / 409.2 MB, free: 11.1 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.000386/0.00447, allocations: 325.7 kB / 409.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.004511, allocations: 11.97 kB / 409.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.004545, allocations: 34.75 kB / 409.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.004572, allocations: 8.891 kB / 409.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.00472, allocations: 147.7 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.004728, allocations: 384 / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.004746, allocations: 4.375 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.004856, allocations: 46.25 kB / 409.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.004868, allocations: 4.188 kB / 409.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004877, allocations: 3.938 kB / 409.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.004883, allocations: 0 / 409.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/0.004941, allocations: 23.92 kB / 409.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.005234, allocations: 248 kB / 410.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.005398, allocations: 42.5 kB / 410.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.005425, allocations: 12.86 kB / 410.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.005445, allocations: 4.094 kB / 410.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.005463, allocations: 38.48 kB / 410.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.005464, allocations: 4 kB / 410.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003604/0.005824, allocations: 145.4 kB / 410.3 MB, free: 9.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.005854, allocations: 55.34 kB / 410.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.005988, allocations: 202.2 kB / 410.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.006129, allocations: 25.7 kB / 410.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.006176, allocations: 108.1 kB / 410.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.006192, allocations: 11.86 kB / 410.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.006219, allocations: 21.72 kB / 410.7 MB, free: 9.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.00629, allocations: 326.8 kB / 411.1 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.006324, allocations: 19.98 kB / 411.1 MB, free: 9.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.006353, allocations: 15.98 kB / 411.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.006417, allocations: 49.02 kB / 411.1 MB, free: 9.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.006418, allocations: 0 / 411.1 MB, free: 9.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.297e-05/0.006511, allocations: 85.56 kB / 411.2 MB, free: 8.922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.006524, allocations: 10.66 kB / 411.2 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006528, allocations: 4 kB / 411.2 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006538, allocations: 0 / 411.2 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.628e-05/0.006574, allocations: 11.98 kB / 411.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006578, allocations: 3.938 kB / 411.3 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.006597, allocations: 4 kB / 411.3 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006602, allocations: 0 / 411.3 MB, free: 8.891 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.014e-05/0.006662, allocations: 129.8 kB / 411.4 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.006677, allocations: 11.91 kB / 411.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.006803, allocations: 98.06 kB / 411.5 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.006805, allocations: 7.938 kB / 411.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.006809, allocations: 0 / 411.5 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006811, allocations: 4.219 kB / 411.5 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.007057, allocations: 317.6 kB / 411.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007058, allocations: 0 / 411.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.007083, allocations: 11.98 kB / 411.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.007085, allocations: 3.984 kB / 411.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.007093, allocations: 12.19 kB / 411.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.007096, allocations: 4 kB / 411.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007097, allocations: 0 / 411.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.007204, allocations: 175.4 kB / 412 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.007212, allocations: 7.953 kB / 412 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.007225, allocations: 7.984 kB / 412 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.288e-05/0.007258, allocations: 4 kB / 412 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.007285, allocations: 3.984 kB / 412 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.007288, allocations: 7.938 kB / 412.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.504e-05/0.007363, allocations: 159.2 kB / 412.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007363, allocations: 0 / 412.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.007521, allocations: 19.95 kB / 412.2 MB, free: 7.84 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.0008213/0.008342, allocations: 1.024 MB / 413.3 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.008457, allocations: 43.97 kB / 413.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008458, allocations: 0 / 413.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.008496, allocations: 31.92 kB / 413.3 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.008741, allocations: 23.67 kB / 413.4 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.01004, allocations: 1.551 MB / 414.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.0101, allocations: 88.97 kB / 415 MB, free: 5.004 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.01013, allocations: 11.78 kB / 415 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.01018, allocations: 32.48 kB / 415 MB, free: 4.961 MB / 346.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01018, allocations: 0 / 415 MB, free: 4.961 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.02495, allocations: 3.453 MB / 418.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.512/6.537, allocations: 4 kB / 418.5 MB, free: 1.398 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.467725000344217]