Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001385/0.001385, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001642/0.001642, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2266/0.2266, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 83.88 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3042, allocations: 66.09 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003307/0.3075, allocations: 1.597 MB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3086, allocations: 0.511 MB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.3086, allocations: 0 / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.3088, allocations: 23.8 kB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.3091, allocations: 83.61 kB / 0.5629 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.3094, allocations: 91.2 kB / 0.563 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.3095, allocations: 63.83 kB / 0.563 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3096, allocations: 13.81 kB / 0.563 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.928e-05/0.3097, allocations: 23.88 kB / 0.5631 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.3098, allocations: 27.8 kB / 0.5631 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3098, allocations: 7.984 kB / 0.5631 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.3099, allocations: 31.98 kB / 0.5631 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.3099, allocations: 15.92 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.31, allocations: 15.88 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3101, allocations: 87.59 kB / 0.5632 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3101, allocations: 0 / 0.5632 GB, free: 1.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3101, allocations: 0 / 0.5632 GB, free: 1.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3101, allocations: 0 / 0.5632 GB, free: 1.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005052/0.3106, allocations: 317.8 kB / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3107, allocations: 12.03 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.3107, allocations: 34.75 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3108, allocations: 12.88 kB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.3109, allocations: 133.2 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.311, allocations: 384 / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.311, allocations: 384 / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3111, allocations: 50.19 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3111, allocations: 3.938 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3111, allocations: 4 kB / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3111, allocations: 0 / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.941e-05/0.3112, allocations: 27.97 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3116, allocations: 251.9 kB / 0.564 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3118, allocations: 42.5 kB / 0.5641 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.3119, allocations: 12.94 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3119, allocations: 0 / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3119, allocations: 38.56 kB / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3119, allocations: 0 / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005627/0.3125, allocations: 145.4 kB / 0.5643 GB, free: 236 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3125, allocations: 51.41 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3127, allocations: 161.8 kB / 0.5645 GB, free: 0 / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.3128, allocations: 25.7 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.3128, allocations: 100.1 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3129, allocations: 15.8 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.3129, allocations: 21.7 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3131, allocations: 322.8 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.3131, allocations: 19.98 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.3132, allocations: 23.92 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.3133, allocations: 52.95 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3133, allocations: 0 / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001748/0.3135, allocations: 77.62 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3135, allocations: 11.98 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3135, allocations: 0 / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3135, allocations: 3.938 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.3136, allocations: 12 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3136, allocations: 0 / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.3136, allocations: 11.98 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3137, allocations: 7.938 kB / 0.5651 GB, free: 15.27 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 (5): * Single equations (assignments): 5 * 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.0001027/0.3138, allocations: 113.8 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.3138, allocations: 7.953 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.314, allocations: 93.98 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.314, allocations: 0 / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.314, allocations: 4 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.314, allocations: 0 / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.3145, allocations: 317.5 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3145, allocations: 0 / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.3145, allocations: 11.98 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3145, allocations: 4 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3145, allocations: 288 / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3145, allocations: 7.922 kB / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3145, allocations: 0 / 0.5657 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3148, allocations: 183.7 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.3148, allocations: 11.94 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3148, allocations: 0 / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.3149, allocations: 11.94 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3149, allocations: 3.984 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.3149, allocations: 4 kB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.944e-05/0.315, allocations: 130.6 kB / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.315, allocations: 0 / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3152, allocations: 19.95 kB / 0.566 GB, free: 14.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002038/0.3173, allocations: 1.044 MB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.3175, allocations: 43.91 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3175, allocations: 0 / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.3175, allocations: 23.98 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3179, allocations: 15.98 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.3196, allocations: 1.465 MB / 0.5686 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.115e-05/0.3197, allocations: 87.25 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.624e-05/0.3197, allocations: 11.78 kB / 0.5687 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.3198, allocations: 27.42 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3198, allocations: 0 / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3478, allocations: 3.165 MB / 0.5718 GB, free: 8.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11, allocations: 11.91 kB / 0.5718 GB, free: 8.426 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.905435157939792]