Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008134/0.0008134, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008686/0.0008686, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9246/0.9246, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.897e-05, allocations: 5.094 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.182/0.182, allocations: 1.611 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007088/0.1827, allocations: 0.5322 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.1828, allocations: 0.6562 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.183, allocations: 132.8 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1832, allocations: 124.7 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1834, allocations: 117.5 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1836, allocations: 94.41 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1837, allocations: 13.59 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.096e-05/0.1838, allocations: 60.92 kB / 444.9 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.1838, allocations: 83.36 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1839, allocations: 6.25 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.353e-05/0.1839, allocations: 47.05 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.184, allocations: 30.58 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.184, allocations: 20.56 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.1841, allocations: 113.9 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1841, allocations: 4.688 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1841, allocations: 0 / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1841, allocations: 0 / 445.2 MB, free: 43.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003235/0.1845, allocations: 362.3 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1845, allocations: 19.09 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.138e-05/0.1845, allocations: 35.44 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.1845, allocations: 14.59 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1847, allocations: 150.8 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1847, allocations: 7.219 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1847, allocations: 3.281 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1848, allocations: 55.8 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1848, allocations: 4.141 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.1848, allocations: 384 / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1848, allocations: 10.06 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.1849, allocations: 29.2 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.1851, allocations: 274.9 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.1852, allocations: 47.95 kB / 446.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.1852, allocations: 24.47 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1852, allocations: 3.094 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.1853, allocations: 39.81 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.1853, allocations: 0 / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005493/0.1858, allocations: 247.3 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.1858, allocations: 51.41 kB / 446.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.186, allocations: 279.9 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.186, allocations: 25.7 kB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.186, allocations: 117.8 kB / 446.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.186, allocations: 29.17 kB / 446.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.1861, allocations: 20.22 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.162e-05/0.1861, allocations: 334.5 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.1861, allocations: 34.78 kB / 447.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/0.1862, allocations: 31.7 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.958e-05/0.1863, allocations: 70.73 kB / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1863, allocations: 0 / 447.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001087/0.1864, allocations: 118.8 kB / 447.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1864, allocations: 5.531 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1864, allocations: 0 / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1864, allocations: 4 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.1865, allocations: 19.88 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1865, allocations: 0 / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.1865, allocations: 8.094 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1865, allocations: 2.094 kB / 447.6 MB, free: 41.51 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 (8): * Single equations (assignments): 8 * 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.763e-05/0.1865, allocations: 140 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.1866, allocations: 13.12 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.1867, allocations: 137.8 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1867, allocations: 10.88 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1867, allocations: 0 / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1867, allocations: 0 / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.187, allocations: 404.2 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.187, allocations: 2.688 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.187, allocations: 17.19 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.187, allocations: 0 / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.187, allocations: 3.656 kB / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.187, allocations: 0 / 448.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.187, allocations: 10.81 kB / 448.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1872, allocations: 219.7 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.1872, allocations: 14.02 kB / 448.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1872, allocations: 6.75 kB / 448.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.1872, allocations: 2.938 kB / 448.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.1873, allocations: 9.703 kB / 448.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1873, allocations: 3.594 kB / 448.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.547e-05/0.1874, allocations: 215.8 kB / 448.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1874, allocations: 0 / 448.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.1875, allocations: 21.81 kB / 448.8 MB, free: 40.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001003/0.1885, allocations: 1.127 MB / 449.9 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1887, allocations: 72.11 kB / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1887, allocations: 0 / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.1887, allocations: 38.34 kB / 450 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.189, allocations: 23.83 kB / 450 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1901, allocations: 1.86 MB / 451.9 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.1901, allocations: 100.4 kB / 452 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.1902, allocations: 27.19 kB / 452 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.1902, allocations: 41.56 kB / 452.1 MB, free: 38.45 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1902, allocations: 3.938 kB / 452.1 MB, free: 38.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.2049, allocations: 4.14 MB / 456.2 MB, free: 37.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.817, allocations: 6.062 kB / 456.2 MB, free: 37.05 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.87285925541073]