Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002271/0.002271, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2555/0.2555, allocations: 46.96 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.89 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002923/0.3353, allocations: 1.613 MB / 0.5622 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3364, allocations: 0.5349 MB / 0.5627 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.3364, allocations: 0 / 0.5627 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.3367, allocations: 91.75 kB / 0.5628 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.337, allocations: 115.6 kB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.3373, allocations: 123.3 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3374, allocations: 87.8 kB / 0.5631 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.3375, allocations: 21.75 kB / 0.5631 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.3376, allocations: 35.89 kB / 0.5632 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.709e-05/0.3377, allocations: 55.81 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3377, allocations: 4 kB / 0.5632 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3378, allocations: 51.97 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.3378, allocations: 23.86 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.3379, allocations: 19.81 kB / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.3381, allocations: 127.4 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3381, allocations: 0 / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3381, allocations: 0 / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3381, allocations: 0 / 0.5634 GB, free: 1.305 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.0004671/0.3385, allocations: 345.6 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3386, allocations: 8.031 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.3386, allocations: 30.75 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.3386, allocations: 16.84 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3388, allocations: 142.3 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3388, allocations: 4.375 kB / 0.564 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3389, allocations: 12.27 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.339, allocations: 57.62 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.339, allocations: 0 / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.339, allocations: 7.984 kB / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.339, allocations: 0 / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.3391, allocations: 23.98 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.3395, allocations: 271.8 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3397, allocations: 50.5 kB / 0.5644 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.3397, allocations: 20.94 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3397, allocations: 4 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3398, allocations: 34.56 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3398, allocations: 0 / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009083/0.3407, allocations: 241.1 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3407, allocations: 55.41 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.341, allocations: 235.2 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.341, allocations: 33.64 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.341, allocations: 112 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3411, allocations: 27.8 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.3411, allocations: 21.72 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3413, allocations: 326.8 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.3413, allocations: 27.97 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.3414, allocations: 27.98 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3416, allocations: 80.88 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3416, allocations: 0 / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002319/0.3418, allocations: 113.6 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3418, allocations: 8 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3419, allocations: 0 / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3419, allocations: 0 / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.342, allocations: 23.92 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.342, allocations: 3.938 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.342, allocations: 19.92 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.342, allocations: 320 / 0.5657 GB, free: 14.77 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.0001059/0.3421, allocations: 129.8 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.3422, allocations: 11.95 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.3425, allocations: 134.9 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3425, allocations: 432 / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3425, allocations: 3.938 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3425, allocations: 3.984 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.343, allocations: 386.4 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.343, allocations: 0 / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.3431, allocations: 27.91 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3431, allocations: 4 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3431, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3431, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3431, allocations: 0 / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.3434, allocations: 224.1 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.3434, allocations: 15.92 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3435, allocations: 0 / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.3435, allocations: 4 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3436, allocations: 11.98 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3436, allocations: 0 / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.3437, allocations: 176.3 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3437, allocations: 0 / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.344, allocations: 23.95 kB / 0.5668 GB, free: 13.54 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.002252/0.3462, allocations: 1.131 MB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.3465, allocations: 71.95 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3465, allocations: 0 / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.3466, allocations: 44.06 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3469, allocations: 29.58 kB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.349, allocations: 1.758 MB / 0.5698 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3492, allocations: 108.6 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.3492, allocations: 20.66 kB / 0.5699 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.3493, allocations: 35.42 kB / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3493, allocations: 0 / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.38, allocations: 3.8 MB / 0.5737 GB, free: 6.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.42, allocations: 10.16 kB / 0.5737 GB, free: 6.672 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.544272982981056]