Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001353/0.001353, allocations: 114 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.001383/0.001383, allocations: 214.8 kB / 23.74 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.602/1.602, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2457/0.2457, allocations: 46.93 MB / 360.8 MB, free: 4.18 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 91.84 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3688, allocations: 66.07 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003222/0.3721, allocations: 1.64 MB / 0.5624 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3732, allocations: 0.5615 MB / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.3732, allocations: 0 / 0.5629 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.3735, allocations: 103.7 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.3738, allocations: 107.6 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3741, allocations: 118.7 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3743, allocations: 91.73 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3744, allocations: 9.828 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.3745, allocations: 35.91 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3746, allocations: 67.8 kB / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.3746, allocations: 4 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3747, allocations: 43.92 kB / 0.5635 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.3748, allocations: 31.84 kB / 0.5635 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.3748, allocations: 31.75 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.375, allocations: 115.4 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3751, allocations: 0 / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3751, allocations: 3.938 kB / 0.5636 GB, free: 1.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3751, allocations: 0 / 0.5636 GB, free: 1.336 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.0005449/0.3756, allocations: 345.6 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3756, allocations: 8.031 kB / 0.564 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.3757, allocations: 38.73 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.3757, allocations: 16.78 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.3759, allocations: 138.4 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3759, allocations: 8.375 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.376, allocations: 4.328 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3761, allocations: 54.23 kB / 0.5642 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3761, allocations: 7.938 kB / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3761, allocations: 4 kB / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3761, allocations: 0 / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.3762, allocations: 27.97 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.3767, allocations: 283.7 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.3768, allocations: 42.56 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.3768, allocations: 24.94 kB / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3769, allocations: 80 / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3769, allocations: 38.55 kB / 0.5646 GB, free: 184 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3769, allocations: 3.938 kB / 0.5646 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009197/0.3778, allocations: 245.3 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3779, allocations: 51.41 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.3781, allocations: 234.8 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3781, allocations: 25.7 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.3782, allocations: 112.1 kB / 0.5653 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.3782, allocations: 23.81 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.3783, allocations: 21.7 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3785, allocations: 330.8 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.3785, allocations: 27.98 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.3786, allocations: 35.97 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3788, allocations: 72.81 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3788, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002362/0.379, allocations: 117.4 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.379, allocations: 8 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.379, allocations: 0 / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.379, allocations: 0 / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3791, allocations: 19.98 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3792, allocations: 0 / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.3792, allocations: 11.94 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3792, allocations: 3.938 kB / 0.5659 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 (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.000114/0.3793, allocations: 129.8 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.3794, allocations: 11.95 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.3797, allocations: 151.2 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3797, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3797, allocations: 0 / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3797, allocations: 3.938 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000556/0.3802, allocations: 398.3 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3802, allocations: 4.031 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.3803, allocations: 15.98 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3803, allocations: 4 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3803, allocations: 3.938 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3803, allocations: 0 / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3803, allocations: 4 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.3806, allocations: 220.2 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.3806, allocations: 7.953 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.3806, allocations: 3.938 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.3807, allocations: 8 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.3808, allocations: 7.984 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3808, allocations: 0 / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.3809, allocations: 180.3 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3809, allocations: 0 / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3812, allocations: 27.95 kB / 0.567 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.002224/0.3834, allocations: 1.101 MB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.3837, allocations: 67.89 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3837, allocations: 0 / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.3838, allocations: 39.97 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3841, allocations: 24.06 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.3864, allocations: 1.754 MB / 0.57 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.3869, allocations: 0.7119 MB / 0.5706 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.027e-05/0.3869, allocations: 16.66 kB / 0.5707 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.387, allocations: 39.42 kB / 0.5707 GB, free: 9.816 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.387, allocations: 0 / 0.5707 GB, free: 9.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.419, allocations: 3.417 MB / 0.574 GB, free: 6.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.43, allocations: 14.34 kB / 0.5741 GB, free: 6.422 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.677403619978577]