Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001538/0.001538, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00151/0.00151, allocations: 204.8 kB / 23.73 MB, free: 4.379 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 46.95 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.88 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3157, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002891/0.3186, allocations: 1.613 MB / 0.5622 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3196, allocations: 0.5387 MB / 0.5627 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3196, allocations: 4 kB / 0.5627 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.3199, allocations: 115.7 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.3202, allocations: 131.5 kB / 0.5629 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.3205, allocations: 115.4 kB / 0.5631 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.3207, allocations: 103.7 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.3208, allocations: 13.81 kB / 0.5632 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.3209, allocations: 47.89 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.321, allocations: 99.69 kB / 0.5633 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.321, allocations: 4 kB / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.3211, allocations: 47.97 kB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.3212, allocations: 23.92 kB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.3212, allocations: 31.69 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.3214, allocations: 119.4 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3215, allocations: 4 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3215, allocations: 0 / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3215, allocations: 0 / 0.5635 GB, free: 1.207 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.0005316/0.322, allocations: 373.3 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.322, allocations: 8.031 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.3221, allocations: 34.73 kB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.3221, allocations: 16.84 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.3223, allocations: 166.3 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3223, allocations: 4.359 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3224, allocations: 12.36 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3225, allocations: 49.62 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3225, allocations: 0 / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3225, allocations: 4 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3225, allocations: 8 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3226, allocations: 23.97 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.3231, allocations: 279.8 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3232, allocations: 42.56 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.3232, allocations: 20.88 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3233, allocations: 4 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3233, allocations: 30.56 kB / 0.5646 GB, free: 20 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3233, allocations: 0 / 0.5646 GB, free: 20 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009767/0.3243, allocations: 253.2 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3243, allocations: 55.34 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.3246, allocations: 279.8 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3246, allocations: 25.7 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.3247, allocations: 116.1 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.3247, allocations: 27.75 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.3248, allocations: 29.7 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.325, allocations: 322.8 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.065e-05/0.3251, allocations: 31.97 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.3252, allocations: 32.05 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3254, allocations: 80.64 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3254, allocations: 0 / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002387/0.3256, allocations: 117.5 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3256, allocations: 4 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3256, allocations: 4 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3256, allocations: 0 / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3257, allocations: 19.98 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3257, allocations: 3.938 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.3258, allocations: 4 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3258, allocations: 7.984 kB / 0.5659 GB, free: 14.56 MB / 414.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.0001108/0.3259, allocations: 139.1 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.326, allocations: 15.91 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.3263, allocations: 135.3 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3263, allocations: 3.984 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3263, allocations: 3.938 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3263, allocations: 432 / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.3268, allocations: 394.4 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3268, allocations: 0 / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.3269, allocations: 23.95 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3269, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3269, allocations: 4 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3269, allocations: 0 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3269, allocations: 3.984 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.3272, allocations: 224.2 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.3272, allocations: 15.84 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3273, allocations: 0 / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.3273, allocations: 11.98 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.3274, allocations: 8 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3274, allocations: 11.92 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3276, allocations: 208.1 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3276, allocations: 0 / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3278, allocations: 19.94 kB / 0.5671 GB, free: 13.28 MB / 414.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.002337/0.3302, allocations: 1.151 MB / 0.5682 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3304, allocations: 63.95 kB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3304, allocations: 0 / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.3305, allocations: 43.91 kB / 0.5683 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3309, allocations: 35.11 kB / 0.5683 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.3331, allocations: 1.855 MB / 0.5702 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3332, allocations: 109.1 kB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.26e-05/0.3333, allocations: 24.58 kB / 0.5703 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.3333, allocations: 39.42 kB / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3333, allocations: 0 / 0.5703 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3631, allocations: 4.03 MB / 0.5743 GB, free: 6.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.18, allocations: 6.219 kB / 0.5743 GB, free: 6.055 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.21252669201931]