Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 46.93 MB / 360.8 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 87.86 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3282, allocations: 66.08 MB / 0.5608 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003204/0.3314, allocations: 1.629 MB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3325, allocations: 0.5537 MB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.3325, allocations: 0 / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.3328, allocations: 79.7 kB / 0.563 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3331, allocations: 99.64 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.3333, allocations: 91.7 kB / 0.5631 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3335, allocations: 83.75 kB / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.3336, allocations: 17.81 kB / 0.5632 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.3337, allocations: 43.89 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3338, allocations: 51.83 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3338, allocations: 11.92 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3339, allocations: 47.98 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.334, allocations: 23.86 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.334, allocations: 27.75 kB / 0.5634 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3342, allocations: 107.5 kB / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3342, allocations: 4 kB / 0.5636 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3342, allocations: 0 / 0.5636 GB, free: 1.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3342, allocations: 3.938 kB / 0.5636 GB, free: 1.438 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.0005019/0.3347, allocations: 341.6 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3348, allocations: 12.02 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.3348, allocations: 34.75 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.3348, allocations: 12.84 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.335, allocations: 154.9 kB / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.335, allocations: 384 / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.3351, allocations: 4.375 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3352, allocations: 54.23 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3352, allocations: 7.938 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.3352, allocations: 0 / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3352, allocations: 4 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3353, allocations: 23.97 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3357, allocations: 267.8 kB / 0.5644 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.3359, allocations: 42.56 kB / 0.5645 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.3359, allocations: 20.86 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3359, allocations: 4.078 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.336, allocations: 30.56 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.336, allocations: 0 / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000885/0.3368, allocations: 233.1 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3369, allocations: 55.41 kB / 0.5648 GB, free: 4 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.3371, allocations: 210.3 kB / 0.565 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3371, allocations: 25.7 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.3372, allocations: 108.1 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.3372, allocations: 31.73 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3373, allocations: 25.72 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3374, allocations: 326.8 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.3375, allocations: 27.98 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.3376, allocations: 32.03 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.3377, allocations: 52.84 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3377, allocations: 0 / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002168/0.3379, allocations: 109.5 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.338, allocations: 10.28 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.338, allocations: 0 / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.338, allocations: 4 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.3381, allocations: 15.98 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3381, allocations: 0 / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.3381, allocations: 7.984 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3381, allocations: 11.94 kB / 0.5658 GB, free: 14.98 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.0001001/0.3382, allocations: 127.2 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.3383, allocations: 15.91 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.3386, allocations: 115 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3386, allocations: 3.938 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3386, allocations: 432 / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3386, allocations: 3.984 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.3391, allocations: 382.7 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3391, allocations: 0 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.3392, allocations: 19.98 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3392, allocations: 0 / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3392, allocations: 7.922 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3392, allocations: 8.062 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3392, allocations: 3.984 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3395, allocations: 204.3 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.3395, allocations: 19.89 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3395, allocations: 3.938 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.3396, allocations: 4 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.3396, allocations: 7.984 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3396, allocations: 0 / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.3398, allocations: 168.2 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3398, allocations: 4 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.34, allocations: 23.94 kB / 0.5668 GB, free: 13.79 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.002232/0.3423, allocations: 1.079 MB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.3425, allocations: 63.91 kB / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3425, allocations: 0 / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.3426, allocations: 36.03 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.343, allocations: 12 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.345, allocations: 1.673 MB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3454, allocations: 0.7157 MB / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.91e-05/0.3454, allocations: 12.97 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.3455, allocations: 39.42 kB / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3455, allocations: 0 / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.3741, allocations: 3.274 MB / 0.5736 GB, free: 6.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.51, allocations: 11.94 kB / 0.5736 GB, free: 6.938 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.491612066049129]