Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001468/0.001468, allocations: 204.4 kB / 23.72 MB, free: 4.5 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.409/1.409, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2241/0.2241, allocations: 46.95 MB / 360.8 MB, free: 3.898 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.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 80.06 kB / 0.4962 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3117, allocations: 66.08 MB / 0.5608 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003096/0.3148, allocations: 1.724 MB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3164, allocations: 0.9749 MB / 0.5634 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.3165, allocations: 3.938 kB / 0.5634 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3168, allocations: 107.7 kB / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.3171, allocations: 135.5 kB / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3173, allocations: 79.67 kB / 0.5637 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.3175, allocations: 131.7 kB / 0.5638 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.3176, allocations: 9.812 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.3176, allocations: 71.62 kB / 0.5639 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3178, allocations: 67.8 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3178, allocations: 8 kB / 0.564 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3179, allocations: 63.97 kB / 0.564 GB, free: 492 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.318, allocations: 35.84 kB / 0.5641 GB, free: 456 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.318, allocations: 35.73 kB / 0.5641 GB, free: 420 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.3182, allocations: 171.2 kB / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3182, allocations: 0 / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3182, allocations: 0 / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.3182, allocations: 0 / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000547/0.3188, allocations: 389.3 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3188, allocations: 8.031 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.3189, allocations: 34.75 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.3189, allocations: 16.84 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.3192, allocations: 167.1 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3192, allocations: 4.375 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3192, allocations: 12.31 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3194, allocations: 69.78 kB / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3194, allocations: 0 / 0.5649 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3194, allocations: 4 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.3194, allocations: 0 / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3195, allocations: 35.97 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3199, allocations: 291.8 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.3201, allocations: 66.55 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.3202, allocations: 36.83 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.3202, allocations: 0 / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.3204, allocations: 87.34 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3204, allocations: 0 / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007985/0.3212, allocations: 289.3 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3212, allocations: 51.41 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.3215, allocations: 267.7 kB / 0.566 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3215, allocations: 29.7 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.3216, allocations: 112.1 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.3216, allocations: 47.62 kB / 0.5662 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.3217, allocations: 29.7 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3218, allocations: 330.8 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.3219, allocations: 31.98 kB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.322, allocations: 57.06 kB / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3222, allocations: 101.6 kB / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3222, allocations: 0 / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002557/0.3224, allocations: 145.6 kB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3224, allocations: 8.031 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3224, allocations: 0 / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3225, allocations: 3.938 kB / 0.5669 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.3225, allocations: 27.98 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3225, allocations: 0 / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.3226, allocations: 11.89 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3226, allocations: 4 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001161/0.3227, allocations: 139.1 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3228, allocations: 15.91 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.3231, allocations: 187.6 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3231, allocations: 0 / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.3231, allocations: 0 / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3231, allocations: 3.938 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.3237, allocations: 459.3 kB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3237, allocations: 0 / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.3238, allocations: 27.86 kB / 0.5677 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3238, allocations: 4 kB / 0.5677 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3238, allocations: 4 kB / 0.5677 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3238, allocations: 4.062 kB / 0.5677 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3238, allocations: 4 kB / 0.5677 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3241, allocations: 265.1 kB / 0.568 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.3242, allocations: 19.84 kB / 0.568 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3242, allocations: 4 kB / 0.568 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.3243, allocations: 4 kB / 0.568 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3243, allocations: 11.98 kB / 0.568 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3243, allocations: 7.984 kB / 0.568 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.3245, allocations: 197.5 kB / 0.5682 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3245, allocations: 3.938 kB / 0.5682 GB, free: 11.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.3248, allocations: 39.92 kB / 0.5683 GB, free: 11.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002499/0.3273, allocations: 1.234 MB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3275, allocations: 99.83 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3275, allocations: 0 / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3276, allocations: 47.92 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.328, allocations: 35.12 kB / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.3302, allocations: 1.977 MB / 0.5716 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3303, allocations: 114.6 kB / 0.5717 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.089e-05/0.3304, allocations: 29 kB / 0.5717 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.3305, allocations: 51.42 kB / 0.5718 GB, free: 8.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3305, allocations: 0 / 0.5718 GB, free: 8.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.3605, allocations: 4.931 MB / 0.5766 GB, free: 3.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.08, allocations: 13.42 kB / 0.5766 GB, free: 3.43 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.936092952731997]