Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001301/0.001301, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.412/1.412, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2219/0.2219, allocations: 46.97 MB / 360.8 MB, free: 3.926 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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3238, allocations: 66.1 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003319/0.3271, allocations: 1.644 MB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3282, allocations: 0.5266 MB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.3283, allocations: 3.938 kB / 0.5628 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3286, allocations: 99.67 kB / 0.5629 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.3289, allocations: 119.6 kB / 0.563 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.3292, allocations: 115.1 kB / 0.5632 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3294, allocations: 103.8 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3295, allocations: 17.81 kB / 0.5633 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.3296, allocations: 51.77 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3297, allocations: 63.75 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3297, allocations: 7.938 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3298, allocations: 51.97 kB / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.3299, allocations: 27.92 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.3299, allocations: 31.75 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3301, allocations: 139.3 kB / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3301, allocations: 0 / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3301, allocations: 0 / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3302, allocations: 0 / 0.5636 GB, free: 1.031 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005302/0.3307, allocations: 369.4 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3307, allocations: 8.031 kB / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.3308, allocations: 34.75 kB / 0.564 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.3308, allocations: 16.84 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.331, allocations: 154.2 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.331, allocations: 8.375 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.331, allocations: 4.375 kB / 0.5642 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3312, allocations: 78.2 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3312, allocations: 7.891 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3312, allocations: 4 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3313, allocations: 4 kB / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3314, allocations: 39.97 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.3319, allocations: 307.8 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.3321, allocations: 70.55 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.3321, allocations: 16.86 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.3322, allocations: 7.984 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3322, allocations: 34.5 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3322, allocations: 0 / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001109/0.3333, allocations: 341.6 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3333, allocations: 59.34 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.3336, allocations: 235.5 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3336, allocations: 33.7 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.3337, allocations: 108.1 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.3338, allocations: 47.58 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.3338, allocations: 29.7 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.334, allocations: 326.8 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3341, allocations: 43.97 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3342, allocations: 51.97 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.3344, allocations: 107.9 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3344, allocations: 4 kB / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002916/0.3347, allocations: 157.5 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3347, allocations: 4 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3347, allocations: 3.984 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3347, allocations: 4 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3348, allocations: 35.86 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3348, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.3349, allocations: 4 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3349, allocations: 11.94 kB / 0.5663 GB, free: 14.11 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 (13): * Single equations (assignments): 13 * 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.0001311/0.335, allocations: 129.8 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.3351, allocations: 15.91 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.3355, allocations: 183 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3355, allocations: 3.938 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3355, allocations: 4 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3355, allocations: 0 / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.3362, allocations: 466.2 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3362, allocations: 0 / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.3363, allocations: 27.97 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3363, allocations: 0 / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3363, allocations: 8 kB / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3363, allocations: 0 / 0.5671 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3363, allocations: 4.031 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.3366, allocations: 263.6 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.3366, allocations: 11.91 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3367, allocations: 3.984 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.3367, allocations: 8 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.3368, allocations: 7.984 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3368, allocations: 4 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.3369, allocations: 189.1 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3369, allocations: 0 / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.3372, allocations: 31.94 kB / 0.5676 GB, free: 12.69 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 (13): * Single equations (assignments): 13 * 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.00236/0.3396, allocations: 1.176 MB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.3399, allocations: 107.9 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3399, allocations: 0 / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.34, allocations: 55.91 kB / 0.5689 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.3404, allocations: 26.34 kB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.3429, allocations: 1.921 MB / 0.5708 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.343, allocations: 117.5 kB / 0.5709 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.379e-05/0.3431, allocations: 24.47 kB / 0.5709 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.3431, allocations: 47.42 kB / 0.571 GB, free: 9.266 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3432, allocations: 0 / 0.571 GB, free: 9.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.3721, allocations: 4.164 MB / 0.575 GB, free: 5.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.02, allocations: 7.844 kB / 0.575 GB, free: 5.113 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 13.871594836004078]