Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.0007103/0.0007103, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0007915/0.0007915, 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.9027/0.9027, allocations: 177 MB / 204.1 MB, free: 5.734 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.2834/0.2834, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.327e-05, allocations: 2.281 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.1978/0.1979, allocations: 1.609 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.1987, allocations: 0.5373 MB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.1988, allocations: 0 / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.1991, allocations: 78.55 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.1994, allocations: 110.3 kB / 444.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1997, allocations: 117.5 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1999, allocations: 85.59 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.2, allocations: 12.25 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.2001, allocations: 45.42 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2002, allocations: 51.92 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.2002, allocations: 2.781 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.2003, allocations: 52.58 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.2003, allocations: 23.19 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.2004, allocations: 22.48 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.2005, allocations: 103.8 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2006, allocations: 0 / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2006, allocations: 0 / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2006, allocations: 0 / 445 MB, free: 43.11 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.000387/0.2009, allocations: 337.3 kB / 445.3 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.201, allocations: 8.281 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.526e-05/0.201, allocations: 33.47 kB / 445.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2011, allocations: 17.61 kB / 445.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2012, allocations: 138.4 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2012, allocations: 8.125 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.2012, allocations: 7.094 kB / 445.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.2013, allocations: 58.42 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2013, allocations: 4.141 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.2014, allocations: 4.875 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2014, allocations: 4.125 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.903e-05/0.2014, allocations: 30.64 kB / 445.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.2017, allocations: 263.4 kB / 445.9 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.685e-05/0.2018, allocations: 47.61 kB / 446 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.2018, allocations: 17.86 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.2018, allocations: 6.406 kB / 446 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.2018, allocations: 37.31 kB / 446 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2018, allocations: 0 / 446 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006275/0.2025, allocations: 245.4 kB / 446.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2025, allocations: 58.09 kB / 446.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.2026, allocations: 211.7 kB / 446.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.2026, allocations: 29.58 kB / 446.5 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.2027, allocations: 108.4 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2027, allocations: 21.67 kB / 446.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.2027, allocations: 22.41 kB / 446.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.2028, allocations: 328.6 kB / 447 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.2028, allocations: 31.52 kB / 447.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.2029, allocations: 29.12 kB / 447.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.091e-05/0.2029, allocations: 77.38 kB / 447.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2029, allocations: 0 / 447.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001387/0.2031, allocations: 114.3 kB / 447.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2031, allocations: 9.75 kB / 447.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2031, allocations: 0 / 447.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2031, allocations: 0 / 447.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.2032, allocations: 17.83 kB / 447.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2032, allocations: 4 kB / 447.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.2032, allocations: 9.797 kB / 447.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2032, allocations: 2.938 kB / 447.3 MB, free: 41.5 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.731e-05/0.2033, allocations: 135.4 kB / 447.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.2033, allocations: 13.59 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.2035, allocations: 138.5 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.2035, allocations: 2.875 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2035, allocations: 0 / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2035, allocations: 4.516 kB / 447.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.2038, allocations: 382.5 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2038, allocations: 2.688 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.2039, allocations: 18 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2039, allocations: 0 / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2039, allocations: 4.625 kB / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2039, allocations: 0 / 448 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2039, allocations: 3.938 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.204, allocations: 221.8 kB / 448.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.2041, allocations: 12.7 kB / 448.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2041, allocations: 0 / 448.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.2041, allocations: 6.031 kB / 448.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2041, allocations: 10.36 kB / 448.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2041, allocations: 3.688 kB / 448.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.7e-05/0.2042, allocations: 163.5 kB / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2042, allocations: 0 / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.2044, allocations: 24.02 kB / 448.4 MB, free: 40.82 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.2054, allocations: 1.119 MB / 449.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2056, allocations: 77.69 kB / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2056, allocations: 0 / 449.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.2056, allocations: 36.88 kB / 449.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2059, allocations: 27.47 kB / 449.7 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.207, allocations: 1.714 MB / 451.4 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.416e-05/0.2071, allocations: 103.6 kB / 451.5 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.2071, allocations: 19.7 kB / 451.5 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.2072, allocations: 37 kB / 451.6 MB, free: 38.55 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2072, allocations: 3.938 kB / 451.6 MB, free: 38.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.2257, allocations: 3.872 MB / 455.4 MB, free: 37.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.863, allocations: 9.547 kB / 455.4 MB, free: 37.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.900748104788363]