Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001273/0.001273, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001378/0.001378, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.376/1.376, allocations: 230.5 MB / 258.2 MB, free: 7.773 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.2367/0.2367, allocations: 46.95 MB / 361.6 MB, free: 3.949 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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 75.88 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3906, allocations: 66.09 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00327/0.3939, allocations: 1.601 MB / 0.563 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3949, allocations: 0.5148 MB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.395, allocations: 0 / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.3953, allocations: 135.6 kB / 0.5637 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.3957, allocations: 135.5 kB / 0.5638 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.396, allocations: 83.7 kB / 0.5639 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.3962, allocations: 103.7 kB / 0.564 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3963, allocations: 13.81 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.3964, allocations: 43.89 kB / 0.564 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.3965, allocations: 99.75 kB / 0.5641 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3965, allocations: 0 / 0.5641 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3966, allocations: 47.97 kB / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.3967, allocations: 31.86 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.3968, allocations: 23.75 kB / 0.5642 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.397, allocations: 131.4 kB / 0.5643 GB, free: 1.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.397, allocations: 0 / 0.5643 GB, free: 1.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.397, allocations: 0 / 0.5643 GB, free: 1.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.397, allocations: 0 / 0.5643 GB, free: 1.086 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.0005933/0.3976, allocations: 361.4 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3977, allocations: 12.03 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.705e-05/0.3977, allocations: 4.188 kB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.3977, allocations: 38.73 kB / 0.5647 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3978, allocations: 16.78 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.398, allocations: 158.4 kB / 0.5649 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.398, allocations: 384 / 0.5649 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.398, allocations: 8.312 kB / 0.5649 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3982, allocations: 61.97 kB / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3982, allocations: 0 / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3982, allocations: 8 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3982, allocations: 4 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.3983, allocations: 31.95 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3987, allocations: 259.9 kB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3989, allocations: 46.55 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.3989, allocations: 20.89 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.399, allocations: 0 / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.399, allocations: 34.56 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.399, allocations: 0 / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009162/0.3999, allocations: 233.1 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3999, allocations: 55.41 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.4002, allocations: 275.8 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4003, allocations: 25.7 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.4004, allocations: 120.1 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.4004, allocations: 27.81 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.4004, allocations: 29.7 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4006, allocations: 326.8 kB / 0.5664 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.4007, allocations: 31.92 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.4007, allocations: 23.97 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.4009, allocations: 56.84 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4009, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002269/0.4011, allocations: 109.6 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4011, allocations: 8 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4011, allocations: 0 / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4012, allocations: 0 / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4013, allocations: 24.28 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4013, allocations: 0 / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.4013, allocations: 7.938 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4013, allocations: 7.984 kB / 0.5667 GB, free: 14.5 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.0001708/0.4015, allocations: 136.5 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.4015, allocations: 11.91 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.4018, allocations: 135.3 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4018, allocations: 7.984 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4018, allocations: 0 / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4018, allocations: 3.938 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.4024, allocations: 370.4 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4024, allocations: 0 / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.4025, allocations: 23.98 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4025, allocations: 7.969 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4025, allocations: 0 / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.4025, allocations: 8 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4025, allocations: 0 / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4028, allocations: 208.2 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.4028, allocations: 11.91 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.4028, allocations: 7.938 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.4029, allocations: 8 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4029, allocations: 3.984 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.4029, allocations: 8 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.4031, allocations: 216.1 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4031, allocations: 0 / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.4034, allocations: 19.94 kB / 0.5678 GB, free: 13.25 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.002391/0.4058, allocations: 1.125 MB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.4061, allocations: 59.95 kB / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4061, allocations: 0 / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.4062, allocations: 35.92 kB / 0.569 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.4066, allocations: 19.77 kB / 0.569 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.4089, allocations: 1.813 MB / 0.5708 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.4091, allocations: 105 kB / 0.5709 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.565e-05/0.4091, allocations: 16.66 kB / 0.5709 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.4092, allocations: 43.42 kB / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4092, allocations: 0 / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.4339, allocations: 3.63 MB / 0.5745 GB, free: 6.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.34, allocations: 7.672 kB / 0.5745 GB, free: 6.477 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.357024305034429]