Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.0007943/0.0007943, 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.0008058/0.0008058, 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.8951/0.8951, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2633/0.2633, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.824e-05, allocations: 2.281 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002577/0.002596, allocations: 1.613 MB / 441.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.003358, allocations: 0.5336 MB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.003424, allocations: 4 kB / 441.8 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.003699, allocations: 107.6 kB / 441.9 MB, free: 1.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.003948, allocations: 127.5 kB / 442 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.004168, allocations: 110 kB / 442.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.004332, allocations: 91.75 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004433, allocations: 15.97 kB / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.004497, allocations: 47.89 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.113e-05/0.004588, allocations: 63.86 kB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.004602, allocations: 4 kB / 442.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.00468, allocations: 51.91 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.004735, allocations: 35.8 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.004763, allocations: 11.94 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.004923, allocations: 123.5 kB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004926, allocations: 3.984 kB / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004927, allocations: 0 / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.004931, allocations: 0 / 442.5 MB, free: 1.273 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.0004091/0.005341, allocations: 349.5 kB / 442.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.005384, allocations: 12.03 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.005416, allocations: 34.73 kB / 442.9 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.005445, allocations: 8.891 kB / 442.9 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.005607, allocations: 154.3 kB / 443.1 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.005616, allocations: 4.375 kB / 443.1 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.005637, allocations: 8.312 kB / 443.1 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.005769, allocations: 54.23 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.005783, allocations: 4.141 kB / 443.2 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.005795, allocations: 7.938 kB / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.005801, allocations: 0 / 443.2 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.742e-05/0.005868, allocations: 27.97 kB / 443.2 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.006232, allocations: 271.8 kB / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.126e-05/0.006324, allocations: 46.5 kB / 443.5 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.006356, allocations: 24.88 kB / 443.5 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.006383, allocations: 4 kB / 443.5 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.006407, allocations: 30.56 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.006408, allocations: 0 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1799/0.1863, allocations: 239.2 kB / 443.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1864, allocations: 57.47 kB / 443.8 MB, free: 46.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1866, allocations: 248.9 kB / 444.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1866, allocations: 27.52 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.1866, allocations: 117 kB / 444.2 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1867, allocations: 31.02 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.1867, allocations: 23.06 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.1867, allocations: 329.6 kB / 444.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.1868, allocations: 29.06 kB / 444.6 MB, free: 45.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.1868, allocations: 33.66 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.1869, allocations: 80.44 kB / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1869, allocations: 0 / 444.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001501/0.1871, allocations: 118.2 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1871, allocations: 5.844 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1871, allocations: 0.625 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.1871, allocations: 0 / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.1872, allocations: 18.42 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1873, allocations: 0 / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.1873, allocations: 10.75 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1873, allocations: 3.281 kB / 444.9 MB, free: 45.84 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 6.553e-05/0.1873, allocations: 134.5 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.1874, allocations: 19.3 kB / 445.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.1876, allocations: 136.5 kB / 445.2 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1876, allocations: 2.969 kB / 445.2 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1876, allocations: 0 / 445.2 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1876, allocations: 0 / 445.2 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.188, allocations: 394.9 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.188, allocations: 0.9844 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.188, allocations: 20.77 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.188, allocations: 0 / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.188, allocations: 6.062 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.188, allocations: 0 / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.188, allocations: 2.656 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1881, allocations: 223.7 kB / 445.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.1882, allocations: 15.88 kB / 445.8 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1882, allocations: 13.27 kB / 445.8 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.1882, allocations: 5.938 kB / 445.9 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1883, allocations: 6.109 kB / 445.9 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1883, allocations: 2.656 kB / 445.9 MB, free: 45.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.1883, allocations: 188 kB / 446 MB, free: 45.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1883, allocations: 2.75 kB / 446.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.1885, allocations: 24.69 kB / 446.1 MB, free: 45.15 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.0009587/0.1895, allocations: 1.125 MB / 447.2 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1896, allocations: 77.47 kB / 447.3 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1896, allocations: 0 / 447.3 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.1897, allocations: 42.03 kB / 447.3 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.19, allocations: 13.31 kB / 447.3 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.191, allocations: 1.817 MB / 449.1 MB, free: 43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.1911, allocations: 107.2 kB / 449.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.1911, allocations: 18.38 kB / 449.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.1912, allocations: 40.72 kB / 449.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1912, allocations: 2.406 kB / 449.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.2074, allocations: 4.027 MB / 453.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.607/6.814, allocations: 21.34 kB / 453.4 MB, free: 41.52 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.827546926215291]