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.001723/0.001723, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002083/0.002083, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.231/0.231, allocations: 44.94 MB / 358.8 MB, free: 6.078 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.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: 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.002089/0.002089, allocations: 59.91 kB / 0.4931 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3038, allocations: 65.48 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003281/0.3071, allocations: 1.613 MB / 0.5586 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3082, allocations: 0.5271 MB / 0.5591 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.3083, allocations: 0 / 0.5591 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.3087, allocations: 131.6 kB / 0.5592 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.309, allocations: 127.5 kB / 0.5593 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.3093, allocations: 111.4 kB / 0.5594 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.3095, allocations: 99.72 kB / 0.5595 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.3096, allocations: 13.83 kB / 0.5595 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.3097, allocations: 51.81 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.3098, allocations: 95.7 kB / 0.5597 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3099, allocations: 4 kB / 0.5597 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.31, allocations: 43.98 kB / 0.5597 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.31, allocations: 35.89 kB / 0.5598 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.3101, allocations: 23.75 kB / 0.5598 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3103, allocations: 127.4 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3103, allocations: 0 / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3103, allocations: 0 / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3103, allocations: 4 kB / 0.5599 GB, free: 4.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005169/0.3108, allocations: 365.3 kB / 0.5603 GB, free: 4.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3109, allocations: 12.03 kB / 0.5603 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.3109, allocations: 30.75 kB / 0.5603 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.3109, allocations: 20.84 kB / 0.5603 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.3112, allocations: 162.4 kB / 0.5605 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3112, allocations: 8.312 kB / 0.5605 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3112, allocations: 384 / 0.5605 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3114, allocations: 61.61 kB / 0.5605 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3114, allocations: 0 / 0.5605 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3114, allocations: 0 / 0.5605 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3114, allocations: 0 / 0.5605 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3115, allocations: 35.91 kB / 0.5606 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.312, allocations: 275.9 kB / 0.5608 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3121, allocations: 42.56 kB / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.3122, allocations: 16.94 kB / 0.5609 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.3122, allocations: 7.938 kB / 0.5609 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3122, allocations: 34.56 kB / 0.5609 GB, free: 3.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3122, allocations: 0 / 0.5609 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001/0.3132, allocations: 257 kB / 0.5612 GB, free: 3.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3133, allocations: 51.41 kB / 0.5612 GB, free: 3.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.3136, allocations: 275.8 kB / 0.5615 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3136, allocations: 29.7 kB / 0.5615 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.3137, allocations: 116.1 kB / 0.5616 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.3137, allocations: 27.75 kB / 0.5617 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3138, allocations: 21.72 kB / 0.5617 GB, free: 2.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3139, allocations: 334.8 kB / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.314, allocations: 23.98 kB / 0.562 GB, free: 2.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.3141, allocations: 32.05 kB / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3143, allocations: 80.97 kB / 0.5621 GB, free: 2.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3143, allocations: 4 kB / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002424/0.3145, allocations: 121.5 kB / 0.5623 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3146, allocations: 4 kB / 0.5623 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3146, allocations: 0 / 0.5623 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3146, allocations: 0 / 0.5623 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3147, allocations: 23.98 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.3147, allocations: 3.938 kB / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.3148, allocations: 4 kB / 0.5623 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3148, allocations: 0 / 0.5623 GB, free: 1.902 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 (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 0.0001313/0.3149, allocations: 139.1 kB / 0.5624 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.3149, allocations: 15.91 kB / 0.5624 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.3153, allocations: 139 kB / 0.5626 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3153, allocations: 0 / 0.5626 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3153, allocations: 3.938 kB / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3153, allocations: 0 / 0.5626 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.3159, allocations: 390.3 kB / 0.5629 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3159, allocations: 0 / 0.5629 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.316, allocations: 23.92 kB / 0.563 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.316, allocations: 11.91 kB / 0.563 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.316, allocations: 4 kB / 0.563 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.316, allocations: 0 / 0.563 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.316, allocations: 0 / 0.563 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.3163, allocations: 220.2 kB / 0.5632 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3163, allocations: 23.78 kB / 0.5632 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3163, allocations: 0 / 0.5632 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.3164, allocations: 4 kB / 0.5632 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.3165, allocations: 7.984 kB / 0.5632 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3165, allocations: 4 kB / 0.5632 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.3167, allocations: 216.1 kB / 0.5634 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3167, allocations: 0 / 0.5634 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.317, allocations: 27.88 kB / 0.5635 GB, free: 0.6094 MB / 398.1 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.002371/0.3193, allocations: 1.143 MB / 0.5646 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3196, allocations: 71.89 kB / 0.5646 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3196, allocations: 0 / 0.5646 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.3197, allocations: 43.91 kB / 0.5647 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.3201, allocations: 18.31 kB / 0.5647 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3224, allocations: 1.867 MB / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3225, allocations: 105.1 kB / 0.5666 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.685e-05/0.3226, allocations: 24.95 kB / 0.5667 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.3226, allocations: 39.41 kB / 0.5667 GB, free: 13.38 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3226, allocations: 0 / 0.5667 GB, free: 13.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.3526, allocations: 4.004 MB / 0.5706 GB, free: 9.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.58, allocations: 3.984 kB / 0.5706 GB, free: 9.422 MB / 414.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/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: 14.681468108668923]