Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0008137/0.0008137, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008276/0.0008276, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8782/0.8782, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2396/0.2396, allocations: 34.25 MB / 294.9 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.33e-05, allocations: 2.281 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002423/0.002446, allocations: 1.593 MB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.179/0.1815, allocations: 0.5266 MB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.1815, allocations: 2.688 kB / 444.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.1817, allocations: 26.59 kB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.182, allocations: 86.8 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1822, allocations: 111 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1823, allocations: 66.67 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.312e-05/0.1824, allocations: 11.61 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.1824, allocations: 28.06 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.1825, allocations: 22.53 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1825, allocations: 2.688 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.087e-05/0.1826, allocations: 32.61 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.1826, allocations: 18.84 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1826, allocations: 16.38 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1828, allocations: 83.98 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1828, allocations: 1.844 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1828, allocations: 4.156 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1828, allocations: 0 / 444.8 MB, free: 43.13 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.0003661/0.1831, allocations: 321.7 kB / 445.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1832, allocations: 10.38 kB / 445.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.219e-05/0.1832, allocations: 31.31 kB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.1832, allocations: 11.05 kB / 445.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1834, allocations: 140.1 kB / 445.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.1834, allocations: 8.25 kB / 445.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1834, allocations: 3.219 kB / 445.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1835, allocations: 56.42 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1835, allocations: 2.75 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1835, allocations: 0 / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1835, allocations: 0 / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.1836, allocations: 24.98 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.1838, allocations: 251.4 kB / 445.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.184, allocations: 50.89 kB / 445.7 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.184, allocations: 20.02 kB / 445.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1841, allocations: 0 / 445.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.1841, allocations: 33.47 kB / 445.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1841, allocations: 3.344 kB / 445.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003839/0.1845, allocations: 158.8 kB / 445.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.1845, allocations: 51.41 kB / 446 MB, free: 42.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1846, allocations: 174.4 kB / 446.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.1846, allocations: 25.7 kB / 446.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.1846, allocations: 100.3 kB / 446.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1846, allocations: 21.53 kB / 446.3 MB, free: 41.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.1847, allocations: 16.16 kB / 446.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.153e-05/0.1847, allocations: 324.9 kB / 446.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.1847, allocations: 22.22 kB / 446.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.1848, allocations: 21.83 kB / 446.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.1848, allocations: 57.25 kB / 446.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1848, allocations: 0 / 446.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.211e-05/0.1849, allocations: 87.08 kB / 446.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1849, allocations: 2.906 kB / 446.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1849, allocations: 7.938 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.185, allocations: 2.906 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.185, allocations: 13.33 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.185, allocations: 0 / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.185, allocations: 9.984 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.185, allocations: 3 kB / 446.8 MB, free: 41.58 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 4.506e-05/0.1851, allocations: 122.6 kB / 447 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.1851, allocations: 12.27 kB / 447 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1852, allocations: 106.5 kB / 447.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1852, allocations: 0 / 447.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1852, allocations: 0 / 447.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1852, allocations: 3.188 kB / 447.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.1855, allocations: 326.1 kB / 447.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1855, allocations: 6.5 kB / 447.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.1855, allocations: 8.156 kB / 447.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1855, allocations: 3.375 kB / 447.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.1855, allocations: 2.844 kB / 447.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1855, allocations: 4 kB / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1855, allocations: 7.078 kB / 447.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.317e-05/0.1856, allocations: 178.6 kB / 447.6 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.1856, allocations: 7.078 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1856, allocations: 3.281 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/0.1857, allocations: 5.594 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.1857, allocations: 10.33 kB / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1857, allocations: 0 / 447.6 MB, free: 41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.1857, allocations: 140.8 kB / 447.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1857, allocations: 4 kB / 447.8 MB, free: 40.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001597/0.1859, allocations: 16.81 kB / 447.8 MB, free: 40.91 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.0008383/0.1867, allocations: 1.046 MB / 448.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1869, allocations: 54.12 kB / 448.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1869, allocations: 0 / 448.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.1869, allocations: 32 kB / 448.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1872, allocations: 17.53 kB / 448.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.1881, allocations: 1.516 MB / 450.4 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.1882, allocations: 85 kB / 450.5 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.407e-05/0.1882, allocations: 20.77 kB / 450.6 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1883, allocations: 30.72 kB / 450.6 MB, free: 38.92 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1883, allocations: 0 / 450.6 MB, free: 38.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.2028, allocations: 3.398 MB / 454 MB, free: 37.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/6.74, allocations: 3.672 kB / 454 MB, free: 37.61 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.646309413947165]