Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001392/0.001392, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001489/0.001489, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.577/1.577, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2642/0.2642, allocations: 46.94 MB / 360.8 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 179] 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 75.88 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3498, allocations: 66.08 MB / 0.5608 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003196/0.353, allocations: 1.666 MB / 0.5624 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3541, allocations: 0.5693 MB / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.3542, allocations: 0 / 0.5629 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.3544, allocations: 39.75 kB / 0.563 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.3547, allocations: 79.62 kB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3551, allocations: 119.7 kB / 0.5632 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3552, allocations: 91.75 kB / 0.5633 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3553, allocations: 22.09 kB / 0.5633 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.3554, allocations: 35.84 kB / 0.5633 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.3555, allocations: 39.84 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3555, allocations: 4 kB / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3556, allocations: 47.98 kB / 0.5634 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.3557, allocations: 27.91 kB / 0.5634 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.3557, allocations: 35.73 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3559, allocations: 119.4 kB / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3559, allocations: 3.938 kB / 0.5636 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3559, allocations: 0 / 0.5636 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3559, allocations: 0 / 0.5636 GB, free: 1.551 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.0004913/0.3564, allocations: 337.7 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3565, allocations: 8.031 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.3565, allocations: 42.75 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3566, allocations: 12.84 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.3568, allocations: 149 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3568, allocations: 4.375 kB / 0.5641 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3568, allocations: 4.375 kB / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.357, allocations: 81.22 kB / 0.5642 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.357, allocations: 3.938 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.357, allocations: 4 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.357, allocations: 8 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3572, allocations: 39.97 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.3576, allocations: 303.8 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3578, allocations: 58.56 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.3578, allocations: 36.77 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3578, allocations: 4.156 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3579, allocations: 38.5 kB / 0.5647 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3579, allocations: 0 / 0.5647 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001067/0.3589, allocations: 325.1 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.359, allocations: 59.34 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3591, allocations: 157.8 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3592, allocations: 29.7 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.3592, allocations: 100.1 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.3593, allocations: 43.56 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.3593, allocations: 33.7 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3595, allocations: 326.8 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3596, allocations: 43.97 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.3597, allocations: 44.09 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3599, allocations: 114.2 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3599, allocations: 0 / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002866/0.3602, allocations: 149.5 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3602, allocations: 8 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3602, allocations: 7.922 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3602, allocations: 0 / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3603, allocations: 31.92 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3604, allocations: 0 / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.3604, allocations: 4 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3604, allocations: 8 kB / 0.5661 GB, free: 14.79 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.0001041/0.3605, allocations: 127.1 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3606, allocations: 23.88 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.3609, allocations: 190.3 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3609, allocations: 0 / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3609, allocations: 7.875 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3609, allocations: 3.984 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.3616, allocations: 462.2 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3616, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-05/0.3617, allocations: 23.98 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3617, allocations: 4 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3617, allocations: 4 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3618, allocations: 4 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3618, allocations: 0 / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.3621, allocations: 264.2 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.3621, allocations: 7.953 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3621, allocations: 0 / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.3622, allocations: 8 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.3623, allocations: 7.984 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3623, allocations: 7.984 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3624, allocations: 130.2 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3624, allocations: 3.938 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3626, allocations: 31.94 kB / 0.5673 GB, free: 13.43 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.002251/0.3649, allocations: 1.126 MB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.3652, allocations: 107.9 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3652, allocations: 0 / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3653, allocations: 63.91 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.3657, allocations: 23.92 kB / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.3678, allocations: 1.742 MB / 0.5703 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3682, allocations: 0.7164 MB / 0.571 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.174e-05/0.3683, allocations: 28.47 kB / 0.571 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.3683, allocations: 35.42 kB / 0.5711 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3683, allocations: 0 / 0.5711 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.3968, allocations: 3.468 MB / 0.5745 GB, free: 6.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.41, allocations: 10.27 kB / 0.5745 GB, free: 6.156 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.592081950977445]