Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0008114/0.0008114, allocations: 84.34 kB / 20.67 MB, free: 3.883 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.0009164/0.0009164, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.9344/0.9344, allocations: 177 MB / 204.1 MB, free: 5.77 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.2884/0.2884, allocations: 34.23 MB / 294.8 MB, free: 0.7031 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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.765e-05, allocations: 4.391 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.2129/0.2129, allocations: 1.61 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2142, allocations: 1.236 MB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.2142, allocations: 0 / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.2144, allocations: 38.75 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.2147, allocations: 87.25 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.2149, allocations: 86.81 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.215, allocations: 77.45 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.2151, allocations: 11.66 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.2151, allocations: 45 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.2152, allocations: 29.42 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2152, allocations: 6.25 kB / 445.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2153, allocations: 86.05 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.2154, allocations: 23.08 kB / 445.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.2154, allocations: 20.78 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2156, allocations: 157.5 kB / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2156, allocations: 0 / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2156, allocations: 0 / 445.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2156, allocations: 0 / 445.7 MB, free: 42.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003416/0.2159, allocations: 337.3 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.216, allocations: 13.38 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.102e-05/0.216, allocations: 30.75 kB / 446 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.216, allocations: 14.84 kB / 446.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2161, allocations: 137 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.2161, allocations: 3.25 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.2162, allocations: 7.719 kB / 446.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2163, allocations: 98.5 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2163, allocations: 3.094 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2163, allocations: 1.719 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2163, allocations: 4.125 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.2164, allocations: 37.64 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.2166, allocations: 268.3 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.21e-05/0.2167, allocations: 47.03 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.2167, allocations: 22.02 kB / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2167, allocations: 2.969 kB / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.2167, allocations: 33.25 kB / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.2167, allocations: 2.781 kB / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000407/0.2172, allocations: 178.2 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.2172, allocations: 77.11 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.2173, allocations: 154 kB / 447.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.2173, allocations: 25.7 kB / 447.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.2173, allocations: 106.2 kB / 447.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2173, allocations: 26.06 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.2173, allocations: 23.64 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.011e-05/0.2174, allocations: 322.5 kB / 447.6 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.2174, allocations: 22.2 kB / 447.6 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.2175, allocations: 72.94 kB / 447.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.2175, allocations: 65.47 kB / 447.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2175, allocations: 0 / 447.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001059/0.2177, allocations: 92.53 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2177, allocations: 9.031 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2177, allocations: 0 / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2177, allocations: 0.8438 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.2178, allocations: 21.7 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2178, allocations: 4 kB / 447.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.2178, allocations: 9.844 kB / 447.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2178, allocations: 3.234 kB / 447.9 MB, free: 41.1 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 4.828e-05/0.2178, allocations: 123.5 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.2179, allocations: 9.453 kB / 448 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.218, allocations: 115.5 kB / 448.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.218, allocations: 3.938 kB / 448.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.218, allocations: 1.5 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.218, allocations: 2.906 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.2183, allocations: 362.9 kB / 448.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2183, allocations: 0 / 448.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.2183, allocations: 20.97 kB / 448.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2183, allocations: 0 / 448.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2183, allocations: 3.422 kB / 448.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2183, allocations: 2.406 kB / 448.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2183, allocations: 0 / 448.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.2185, allocations: 205.6 kB / 448.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.2185, allocations: 6.984 kB / 448.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2185, allocations: 6.969 kB / 448.7 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-05/0.2185, allocations: 6.266 kB / 448.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.2185, allocations: 10.02 kB / 448.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2185, allocations: 2.938 kB / 448.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.651e-05/0.2186, allocations: 116.7 kB / 448.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2186, allocations: 2.719 kB / 448.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00018/0.2188, allocations: 44.25 kB / 448.9 MB, free: 40.32 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 (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.0009089/0.2197, allocations: 1.149 MB / 450.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2198, allocations: 58.52 kB / 450.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2198, allocations: 3.938 kB / 450.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.2199, allocations: 35.48 kB / 450.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.2201, allocations: 27.88 kB / 450.2 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.221, allocations: 1.515 MB / 451.7 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.221, allocations: 81.11 kB / 451.8 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.221, allocations: 13.45 kB / 451.8 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.2211, allocations: 35.48 kB / 451.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2211, allocations: 4 kB / 451.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.238, allocations: 4.165 MB / 456 MB, free: 36.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.932, allocations: 7.609 kB / 456 MB, free: 36.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 9.028795818798244]