Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0008326/0.0008326, 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.0008971/0.0008971, 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.8985/0.8985, allocations: 177 MB / 204.1 MB, free: 5.754 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.2588/0.2588, allocations: 34.23 MB / 294.8 MB, free: 0.6836 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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.502e-05, allocations: 12.55 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.1954/0.1954, allocations: 1.596 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1968, allocations: 1.234 MB / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.1968, allocations: 0 / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1971, allocations: 27.92 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.1974, allocations: 92.09 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1976, allocations: 86.31 kB / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1978, allocations: 72.39 kB / 445.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.1978, allocations: 11.38 kB / 445.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.1979, allocations: 32.78 kB / 445.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.198, allocations: 26.98 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.198, allocations: 3.031 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1981, allocations: 90.05 kB / 445.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.1982, allocations: 13.98 kB / 445.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.1982, allocations: 26.14 kB / 445.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1984, allocations: 137.3 kB / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1984, allocations: 0 / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1984, allocations: 0 / 445.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1984, allocations: 0 / 445.6 MB, free: 43.03 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.0005716/0.199, allocations: 329.9 kB / 445.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.199, allocations: 8.375 kB / 445.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.1991, allocations: 38.69 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.1991, allocations: 12.64 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.1993, allocations: 141 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1993, allocations: 384 / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1993, allocations: 3.25 kB / 446.1 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1995, allocations: 88.16 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1995, allocations: 3.562 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1995, allocations: 384 / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1995, allocations: 4.656 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.1995, allocations: 26.89 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.1998, allocations: 236.8 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.2, allocations: 42.3 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.2, allocations: 16.36 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2, allocations: 10.53 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.2, allocations: 30.56 kB / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2001, allocations: 3.938 kB / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004035/0.2005, allocations: 139.7 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2005, allocations: 79.86 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/0.2006, allocations: 143.4 kB / 446.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-06/0.2006, allocations: 32.92 kB / 447 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.2006, allocations: 94.27 kB / 447.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.2006, allocations: 26 kB / 447.1 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.2006, allocations: 15.62 kB / 447.1 MB, free: 41.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.058e-05/0.2007, allocations: 318.3 kB / 447.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.379e-05/0.2007, allocations: 18.91 kB / 447.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.2008, allocations: 59.44 kB / 447.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.16e-05/0.2008, allocations: 51.66 kB / 447.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2008, allocations: 7.875 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.396e-05/0.2009, allocations: 75.3 kB / 447.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2009, allocations: 5.5 kB / 447.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2009, allocations: 1.875 kB / 447.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2009, allocations: 6.375 kB / 447.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.201, allocations: 16.09 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.201, allocations: 0 / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.201, allocations: 9.312 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.201, allocations: 7.188 kB / 447.7 MB, free: 41.21 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.087e-05/0.2011, allocations: 115.2 kB / 447.8 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.2011, allocations: 13.55 kB / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.2012, allocations: 86.92 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.2012, allocations: 0 / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2012, allocations: 0 / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2012, allocations: 3 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.2014, allocations: 323.5 kB / 448.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2014, allocations: 0 / 448.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.2015, allocations: 11.69 kB / 448.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2015, allocations: 3.031 kB / 448.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2015, allocations: 0 / 448.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2015, allocations: 3.25 kB / 448.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2015, allocations: 0 / 448.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.2016, allocations: 183.3 kB / 448.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.2016, allocations: 9.828 kB / 448.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.2016, allocations: 4 kB / 448.4 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.588e-05/0.2016, allocations: 2.75 kB / 448.4 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.2016, allocations: 6.109 kB / 448.4 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2016, allocations: 7.188 kB / 448.4 MB, free: 40.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.2017, allocations: 110.3 kB / 448.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2017, allocations: 0 / 448.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.2019, allocations: 46.97 kB / 448.6 MB, free: 40.48 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.0009383/0.2028, allocations: 1.127 MB / 449.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.2029, allocations: 51.72 kB / 449.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.203, allocations: 0 / 449.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.203, allocations: 21.95 kB / 449.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2033, allocations: 20.06 kB / 449.8 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009463/0.2042, allocations: 1.434 MB / 451.2 MB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.588e-05/0.2043, allocations: 83.97 kB / 451.3 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.434e-05/0.2043, allocations: 12.91 kB / 451.3 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.2044, allocations: 30.73 kB / 451.4 MB, free: 38.33 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2044, allocations: 0 / 451.4 MB, free: 38.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.2208, allocations: 3.989 MB / 455.3 MB, free: 36.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/6.81, allocations: 6.922 kB / 455.4 MB, free: 36.86 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.815631424076855]