Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.000863/0.000863, allocations: 79.69 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.0009771/0.0009771, allocations: 170 kB / 23.95 MB, free: 0.6133 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.86/0.86, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2454/0.2454, allocations: 34.24 MB / 294.9 MB, free: 0.7305 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.265e-05, allocations: 5.234 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.1705/0.1706, allocations: 1.64 MB / 443.8 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008269/0.1714, allocations: 0.5357 MB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.1714, allocations: 0.9844 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1717, allocations: 95.58 kB / 444.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.172, allocations: 117.3 kB / 444.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1721, allocations: 98.95 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1723, allocations: 102 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1724, allocations: 14.58 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.1725, allocations: 57.8 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.1725, allocations: 56.88 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1726, allocations: 6.156 kB / 444.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.1726, allocations: 48.03 kB / 445 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.1727, allocations: 27.7 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.1727, allocations: 22.47 kB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1729, allocations: 125.1 kB / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1729, allocations: 0 / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1729, allocations: 1.875 kB / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1729, allocations: 3.938 kB / 445.1 MB, free: 43.12 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003763/0.1733, allocations: 355.7 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1733, allocations: 11.66 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.1733, allocations: 37.84 kB / 445.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.1734, allocations: 17.53 kB / 445.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1735, allocations: 153.1 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.1735, allocations: 2.969 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.1735, allocations: 9.375 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1737, allocations: 77.55 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1737, allocations: 192 / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1737, allocations: 8.438 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1737, allocations: 0 / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.1738, allocations: 41.84 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.174, allocations: 288.1 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/0.1741, allocations: 62.34 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.1742, allocations: 17.55 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1742, allocations: 6.516 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.1742, allocations: 36.34 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1742, allocations: 5.344 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006794/0.1749, allocations: 308.4 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.1749, allocations: 51.52 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.175, allocations: 246 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.1751, allocations: 29.52 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.1751, allocations: 107 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1751, allocations: 54.39 kB / 447 MB, free: 41.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1751, allocations: 30.56 kB / 447 MB, free: 41.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.925e-05/0.1752, allocations: 329.9 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.1752, allocations: 29.3 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.1753, allocations: 38.59 kB / 447.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1754, allocations: 95.81 kB / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1754, allocations: 0 / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001348/0.1755, allocations: 138.1 kB / 447.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1755, allocations: 2.969 kB / 447.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1755, allocations: 9 kB / 447.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1755, allocations: 3.938 kB / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.1756, allocations: 23.06 kB / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1756, allocations: 7.094 kB / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.1757, allocations: 5.938 kB / 447.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1757, allocations: 6.062 kB / 447.7 MB, free: 41.48 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 (13): * Single equations (assignments): 13 * 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.315e-05/0.1757, allocations: 128.8 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1757, allocations: 21.53 kB / 447.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.1759, allocations: 164.5 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1759, allocations: 3.375 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1759, allocations: 0 / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1759, allocations: 3.938 kB / 448 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1763, allocations: 433.6 kB / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1763, allocations: 7.125 kB / 448.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.1763, allocations: 31.39 kB / 448.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1763, allocations: 0 / 448.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1763, allocations: 6.312 kB / 448.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1763, allocations: 2.594 kB / 448.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1763, allocations: 0 / 448.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1765, allocations: 239.9 kB / 448.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.1765, allocations: 21.31 kB / 448.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1765, allocations: 2.719 kB / 448.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.1765, allocations: 6.016 kB / 448.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1766, allocations: 13.83 kB / 448.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1766, allocations: 5.531 kB / 448.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.1766, allocations: 186.2 kB / 449 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1766, allocations: 0 / 449 MB, free: 40.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.1768, allocations: 24.06 kB / 449 MB, free: 40.65 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 (13): * Single equations (assignments): 13 * 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.0009267/0.1777, allocations: 1.163 MB / 450.2 MB, free: 39.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1779, allocations: 94.34 kB / 450.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1779, allocations: 0 / 450.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.178, allocations: 49.91 kB / 450.3 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1782, allocations: 23.62 kB / 450.3 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1793, allocations: 1.855 MB / 452.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.63e-05/0.1794, allocations: 110.9 kB / 452.3 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.366e-05/0.1794, allocations: 23.92 kB / 452.3 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.1794, allocations: 47.66 kB / 452.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1794, allocations: 2.938 kB / 452.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.1962, allocations: 4.232 MB / 456.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.821, allocations: 10.31 kB / 456.6 MB, free: 36.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.729566404595971]