Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.000904/0.000904, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008695/0.0008695, allocations: 170 kB / 23.95 MB, free: 0.6016 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.9224/0.9224, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2488/0.2488, allocations: 32.8 MB / 293.5 MB, free: 1.215 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.774e-05, allocations: 2.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002537/0.002564, allocations: 1.61 MB / 441.2 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003883, allocations: 1.262 MB / 442.5 MB, free: 1.336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.003957, allocations: 0 / 442.5 MB, free: 1.336 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.004228, allocations: 19.84 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.004593, allocations: 95.42 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.004893, allocations: 118.5 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.005062, allocations: 83.75 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.005201, allocations: 8 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/0.005273, allocations: 43.84 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.005385, allocations: 31.89 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.005401, allocations: 4 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.005549, allocations: 91.88 kB / 443 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.005596, allocations: 11.94 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.005628, allocations: 27.91 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.005846, allocations: 159.4 kB / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005848, allocations: 0 / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.00585, allocations: 4 kB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005854, allocations: 0 / 443.2 MB, free: 0.6523 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004295/0.006284, allocations: 345.5 kB / 443.5 MB, free: 292 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.006321, allocations: 12.03 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.006352, allocations: 34.75 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.006387, allocations: 8.891 kB / 443.5 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.006548, allocations: 137.6 kB / 443.7 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.006559, allocations: 8.375 kB / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.006578, allocations: 384 / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1887/0.1953, allocations: 110.5 kB / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1953, allocations: 7.203 kB / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1953, allocations: 0 / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1953, allocations: 3.344 kB / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1954, allocations: 32.78 kB / 443.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.1958, allocations: 274.2 kB / 444.1 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.651e-05/0.1959, allocations: 52.52 kB / 444.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.1959, allocations: 20.92 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1959, allocations: 7.344 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.196, allocations: 31.31 kB / 444.2 MB, free: 46.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.196, allocations: 2.906 kB / 444.2 MB, free: 46.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004654/0.1964, allocations: 202.4 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1965, allocations: 87.81 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1966, allocations: 148.2 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1966, allocations: 29.42 kB / 444.7 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.1966, allocations: 96.56 kB / 444.8 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.1966, allocations: 28.97 kB / 444.8 MB, free: 45.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.1967, allocations: 23.56 kB / 444.8 MB, free: 45.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.1967, allocations: 320.9 kB / 445.1 MB, free: 45.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.1967, allocations: 29.81 kB / 445.2 MB, free: 45.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.1968, allocations: 71.45 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.1969, allocations: 73.61 kB / 445.3 MB, free: 45.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1969, allocations: 1.688 kB / 445.3 MB, free: 45.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001154/0.197, allocations: 112.8 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.197, allocations: 5.312 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.197, allocations: 0 / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.197, allocations: 7.219 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.1971, allocations: 23.06 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1971, allocations: 1.5 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.1971, allocations: 5.719 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1971, allocations: 2.781 kB / 445.5 MB, free: 45.45 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.443e-05/0.1972, allocations: 123.2 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.1972, allocations: 13.25 kB / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1974, allocations: 127.8 kB / 445.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1974, allocations: 10.62 kB / 445.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1974, allocations: 0 / 445.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1974, allocations: 0 / 445.7 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.1977, allocations: 361.1 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1977, allocations: 3.938 kB / 446.1 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.1977, allocations: 21.61 kB / 446.1 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1977, allocations: 0 / 446.1 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1977, allocations: 2.562 kB / 446.1 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1977, allocations: 0 / 446.1 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1977, allocations: 3.719 kB / 446.1 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.1979, allocations: 210.5 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.1979, allocations: 10.48 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1979, allocations: 7.281 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.1979, allocations: 6.656 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.1979, allocations: 5.859 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1979, allocations: 2.562 kB / 446.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.198, allocations: 121.8 kB / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.198, allocations: 4.438 kB / 446.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.1982, allocations: 44.33 kB / 446.5 MB, free: 44.76 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.001037/0.1992, allocations: 1.167 MB / 447.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1994, allocations: 72.86 kB / 447.8 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1994, allocations: 0 / 447.8 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-05/0.1994, allocations: 41 kB / 447.8 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.1997, allocations: 20.64 kB / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009552/0.2007, allocations: 1.564 MB / 449.4 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.2007, allocations: 82.67 kB / 449.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.2008, allocations: 22.44 kB / 449.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.2009, allocations: 39.22 kB / 449.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2009, allocations: 3.938 kB / 449.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.218, allocations: 4.224 MB / 453.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/6.896, allocations: 4 kB / 453.8 MB, free: 41.11 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 8.926518716849387]