Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.0008172/0.0008172, allocations: 79.7 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.0009498/0.0009498, 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.9188/0.9188, 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.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.2674/0.2674, allocations: 32.79 MB / 293.5 MB, free: 1.211 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.394e-05, allocations: 4.391 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003157/0.003181, allocations: 1.607 MB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.003992, allocations: 0.5414 MB / 441.8 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.004068, allocations: 3.938 kB / 441.8 MB, free: 2.047 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.004441, allocations: 127.6 kB / 441.9 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.004784, allocations: 131.5 kB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.005122, allocations: 107.7 kB / 442.1 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.005329, allocations: 99.73 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.005468, allocations: 15.97 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.005555, allocations: 55.88 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.005697, allocations: 83.83 kB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.005716, allocations: 4 kB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.005808, allocations: 43.92 kB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.005886, allocations: 35.8 kB / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.005924, allocations: 19.91 kB / 442.5 MB, free: 1.336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.006126, allocations: 123.5 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.006128, allocations: 4 kB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006129, allocations: 0 / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006135, allocations: 0 / 442.6 MB, free: 1.211 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.0004315/0.006566, allocations: 361.4 kB / 442.9 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.006607, allocations: 8.031 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.006638, allocations: 38.69 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.006668, allocations: 16.84 kB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.006831, allocations: 164.9 kB / 443.2 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.00684, allocations: 384 / 443.2 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.006861, allocations: 4.375 kB / 443.2 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.006983, allocations: 62.17 kB / 443.2 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.006994, allocations: 192 / 443.2 MB, free: 0.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.007003, allocations: 3.938 kB / 443.2 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007009, allocations: 4 kB / 443.2 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.007072, allocations: 31.95 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.00738, allocations: 271.9 kB / 443.5 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.176e-05/0.007461, allocations: 50.5 kB / 443.6 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.00749, allocations: 16.94 kB / 443.6 MB, free: 76 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.007512, allocations: 4 kB / 443.6 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.007531, allocations: 34.56 kB / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.007532, allocations: 0 / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.1885/0.196, allocations: 244.1 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.196, allocations: 54.38 kB / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1962, allocations: 273 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.1962, allocations: 29.45 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.1963, allocations: 112.5 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1963, allocations: 25.95 kB / 444.4 MB, free: 46.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1963, allocations: 23.83 kB / 444.4 MB, free: 46.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.1964, allocations: 329 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.1964, allocations: 33.72 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.1965, allocations: 34.91 kB / 444.8 MB, free: 45.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.1965, allocations: 80.14 kB / 444.9 MB, free: 45.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1965, allocations: 0 / 444.9 MB, free: 45.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.1967, allocations: 113 kB / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1967, allocations: 6.531 kB / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1967, allocations: 0 / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1967, allocations: 3.344 kB / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.1968, allocations: 19.94 kB / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1968, allocations: 0 / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.1968, allocations: 11.81 kB / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1968, allocations: 1.688 kB / 445 MB, free: 45.83 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 5.972e-05/0.1969, allocations: 143.9 kB / 445.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.1969, allocations: 16.94 kB / 445.2 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1971, allocations: 135.3 kB / 445.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1971, allocations: 3.688 kB / 445.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1971, allocations: 0 / 445.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1971, allocations: 3.281 kB / 445.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.1974, allocations: 394.6 kB / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1974, allocations: 0 / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.1974, allocations: 23.06 kB / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1974, allocations: 3 kB / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1974, allocations: 3.375 kB / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1975, allocations: 3.281 kB / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1975, allocations: 3.125 kB / 445.7 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1976, allocations: 218.8 kB / 445.9 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.1976, allocations: 15.84 kB / 446 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.1976, allocations: 4 kB / 446 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.1976, allocations: 7.562 kB / 446 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.1977, allocations: 15.11 kB / 446 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1977, allocations: 4.406 kB / 446 MB, free: 45.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.6e-05/0.1978, allocations: 212.1 kB / 446.2 MB, free: 45.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1978, allocations: 0 / 446.2 MB, free: 45.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.1979, allocations: 30.38 kB / 446.2 MB, free: 45.11 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.0009327/0.1989, allocations: 1.125 MB / 447.3 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.199, allocations: 78.39 kB / 447.4 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.199, allocations: 0 / 447.4 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.1991, allocations: 40.98 kB / 447.5 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1993, allocations: 27.33 kB / 447.5 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2004, allocations: 1.851 MB / 449.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.871e-05/0.2005, allocations: 112.8 kB / 449.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.2006, allocations: 19.08 kB / 449.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.2006, allocations: 41.89 kB / 449.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2006, allocations: 0 / 449.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.2176, allocations: 4.161 MB / 453.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.668/6.885, allocations: 12.36 kB / 453.7 MB, free: 41.44 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.904577426612377]