Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001684/0.001684, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002044/0.002044, allocations: 214.6 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2272/0.2272, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 65.48 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003419/0.309, allocations: 1.61 MB / 0.5586 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.311, allocations: 1.267 MB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.3111, allocations: 7.938 kB / 0.5599 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.3113, allocations: 23.86 kB / 0.5599 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3116, allocations: 83.61 kB / 0.56 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.3119, allocations: 107.7 kB / 0.5601 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3121, allocations: 71.77 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.3122, allocations: 9.828 kB / 0.5601 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.3123, allocations: 35.78 kB / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.3125, allocations: 39.84 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3125, allocations: 0 / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.3127, allocations: 95.88 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.3127, allocations: 19.97 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.3128, allocations: 19.81 kB / 0.5603 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.3131, allocations: 139.5 kB / 0.5605 GB, free: 4.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3131, allocations: 4 kB / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.3131, allocations: 7.984 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.3131, allocations: 0 / 0.5605 GB, free: 4.246 MB / 398.1 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.0005148/0.3136, allocations: 333.6 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3136, allocations: 8.031 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.3137, allocations: 34.75 kB / 0.5608 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.3137, allocations: 4.891 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.3139, allocations: 142.4 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.3139, allocations: 384 / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3139, allocations: 4.375 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3141, allocations: 71.27 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3141, allocations: 4 kB / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3141, allocations: 0 / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3141, allocations: 0 / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.3142, allocations: 27.92 kB / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.3146, allocations: 256 kB / 0.5613 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.3148, allocations: 38.56 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.3149, allocations: 24.94 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3149, allocations: 3.938 kB / 0.5614 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3149, allocations: 30.56 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3149, allocations: 0 / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005671/0.3155, allocations: 153.4 kB / 0.5616 GB, free: 2.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.3156, allocations: 81.11 kB / 0.5617 GB, free: 2.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3157, allocations: 149.8 kB / 0.5618 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3158, allocations: 25.7 kB / 0.5618 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.3158, allocations: 96.08 kB / 0.5619 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3158, allocations: 15.84 kB / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3159, allocations: 25.7 kB / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.316, allocations: 318.8 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.3161, allocations: 27.97 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.243e-05/0.3162, allocations: 33.7 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3164, allocations: 48.83 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3164, allocations: 0 / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002205/0.3166, allocations: 93.8 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3166, allocations: 6.188 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3166, allocations: 4.031 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3166, allocations: 4 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.3167, allocations: 15.98 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3167, allocations: 0 / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.3168, allocations: 7.938 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3168, allocations: 0 / 0.5625 GB, free: 1.988 MB / 398.1 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 9.74e-05/0.3169, allocations: 117.8 kB / 0.5626 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3169, allocations: 7.953 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.3171, allocations: 102 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3172, allocations: 288 / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3172, allocations: 0 / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.3172, allocations: 11.91 kB / 0.5627 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.3176, allocations: 325.6 kB / 0.563 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3176, allocations: 0 / 0.563 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.3177, allocations: 15.98 kB / 0.563 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3177, allocations: 3.938 kB / 0.563 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3177, allocations: 3.938 kB / 0.563 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.3177, allocations: 7.938 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3177, allocations: 0 / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.318, allocations: 179.5 kB / 0.5632 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.318, allocations: 7.953 kB / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.318, allocations: 11.92 kB / 0.5632 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3181, allocations: 4 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.3181, allocations: 11.92 kB / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3181, allocations: 192 / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3182, allocations: 111.3 kB / 0.5634 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0 / 0.5634 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.3185, allocations: 43.86 kB / 0.5634 GB, free: 0.9492 MB / 398.1 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.002285/0.3208, allocations: 1.121 MB / 0.5645 GB, free: 16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.321, allocations: 51.91 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.321, allocations: 0 / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.3211, allocations: 27.92 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3215, allocations: 21.36 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3233, allocations: 1.442 MB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3236, allocations: 0.7001 MB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.176e-05/0.3237, allocations: 15.77 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.3238, allocations: 31.42 kB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3238, allocations: 0 / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.3561, allocations: 3.41 MB / 0.5701 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.75, allocations: 3.375 kB / 0.5701 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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: 14.745820389827713]