Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.0008106/0.0008106, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008288/0.0008288, allocations: 170 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.8612/0.8612, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2566/0.2566, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.068e-05, allocations: 6.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.002206/0.002227, allocations: 1.591 MB / 443.8 MB, free: 48 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.168, allocations: 1.253 MB / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.1681, allocations: 0 / 445 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1683, allocations: 26.61 kB / 445.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.1685, allocations: 84.3 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1687, allocations: 119.7 kB / 445.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1688, allocations: 71.08 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.1689, allocations: 6.625 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.302e-05/0.169, allocations: 46.36 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.1691, allocations: 15.92 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1691, allocations: 2.875 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1692, allocations: 94.14 kB / 445.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.1692, allocations: 10.52 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1693, allocations: 16.84 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1694, allocations: 152.5 kB / 445.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1694, allocations: 0 / 445.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1694, allocations: 3.531 kB / 445.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1694, allocations: 0 / 445.7 MB, free: 43.02 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.0003424/0.1698, allocations: 328.7 kB / 446 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1698, allocations: 8.812 kB / 446 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.231e-05/0.1698, allocations: 33.69 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.1699, allocations: 8.422 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.17, allocations: 136.5 kB / 446.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.17, allocations: 2.844 kB / 446.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.17, allocations: 384 / 446.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.1701, allocations: 97.33 kB / 446.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1701, allocations: 2.969 kB / 446.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1701, allocations: 3.938 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1702, allocations: 0 / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.152e-05/0.1702, allocations: 31.5 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.1704, allocations: 242.7 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1706, allocations: 51.09 kB / 446.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.1707, allocations: 19.61 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1707, allocations: 0 / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.1707, allocations: 36.8 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1707, allocations: 3.656 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003626/0.171, allocations: 156.3 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.1711, allocations: 80.17 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.1712, allocations: 145.2 kB / 447 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.1712, allocations: 25.7 kB / 447.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.1712, allocations: 91.02 kB / 447.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.1712, allocations: 26.47 kB / 447.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.1712, allocations: 19.66 kB / 447.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.476e-05/0.1713, allocations: 318.6 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.1713, allocations: 19.98 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.1713, allocations: 68.47 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.816e-05/0.1714, allocations: 56.39 kB / 447.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1714, allocations: 2.781 kB / 447.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.414e-05/0.1715, allocations: 81.38 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1715, allocations: 5.844 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1715, allocations: 0 / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1715, allocations: 3.531 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.1716, allocations: 12.39 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1716, allocations: 2.906 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.1716, allocations: 10.23 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1716, allocations: 0 / 447.8 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.016e-05/0.1716, allocations: 120.5 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.1717, allocations: 12.86 kB / 447.9 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.1718, allocations: 100.9 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1718, allocations: 3.188 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1718, allocations: 2.812 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1718, allocations: 3.422 kB / 448 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.172, allocations: 324.6 kB / 448.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.172, allocations: 0 / 448.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.172, allocations: 15.95 kB / 448.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.172, allocations: 0 / 448.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1721, allocations: 2.656 kB / 448.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1721, allocations: 4 kB / 448.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1721, allocations: 0 / 448.3 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.636e-05/0.1721, allocations: 184.6 kB / 448.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-06/0.1722, allocations: 10.83 kB / 448.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1722, allocations: 0 / 448.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/0.1722, allocations: 6.312 kB / 448.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.1722, allocations: 6.594 kB / 448.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1722, allocations: 5.953 kB / 448.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.1723, allocations: 115.6 kB / 448.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1723, allocations: 4 kB / 448.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.1725, allocations: 40.55 kB / 448.7 MB, free: 40.46 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.0009025/0.1734, allocations: 1.147 MB / 449.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.1735, allocations: 51.31 kB / 449.9 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1735, allocations: 0 / 449.9 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.668e-05/0.1735, allocations: 31.5 kB / 449.9 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.1738, allocations: 28.25 kB / 450 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.1746, allocations: 1.446 MB / 451.4 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.1746, allocations: 82.81 kB / 451.5 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.1747, allocations: 22.39 kB / 451.5 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.1747, allocations: 27.62 kB / 451.5 MB, free: 38.31 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1747, allocations: 0 / 451.5 MB, free: 38.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.1899, allocations: 4.011 MB / 455.5 MB, free: 36.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/6.726, allocations: 7.125 kB / 455.5 MB, free: 36.88 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test35_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.630245510488749]