Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001216/0.001216, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001382/0.001382, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.368/1.368, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2158/0.2158, allocations: 46.92 MB / 361.6 MB, free: 4.207 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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 79.86 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3065, allocations: 66.08 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003314/0.3098, allocations: 1.953 MB / 0.5635 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3117, allocations: 1.084 MB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3118, allocations: 4 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.3121, allocations: 43.7 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.3124, allocations: 103.5 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.3127, allocations: 103.6 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.3129, allocations: 143.5 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.313, allocations: 19.56 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3132, allocations: 71.64 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3133, allocations: 51.72 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3133, allocations: 4 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3134, allocations: 47.98 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.3135, allocations: 27.91 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.3135, allocations: 51.61 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.3138, allocations: 163.2 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3138, allocations: 4 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3138, allocations: 0 / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3138, allocations: 0 / 0.5653 GB, free: 416 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007092/0.3145, allocations: 410.5 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3146, allocations: 8.031 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.857e-05/0.3146, allocations: 4.188 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.3146, allocations: 38.73 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.3147, allocations: 16.84 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.315, allocations: 186.9 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.315, allocations: 4.359 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.315, allocations: 12.94 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3153, allocations: 102.6 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.3153, allocations: 11.81 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3153, allocations: 4 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3153, allocations: 4 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.3155, allocations: 47.97 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.3161, allocations: 488 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.3164, allocations: 86.66 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3165, allocations: 32.84 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3165, allocations: 3.938 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.3167, allocations: 83.36 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3167, allocations: 4 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003869/0.3171, allocations: 141.5 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3171, allocations: 55.41 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.3173, allocations: 195.2 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3174, allocations: 29.7 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.3174, allocations: 116.1 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.3175, allocations: 35.73 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.3175, allocations: 29.7 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3177, allocations: 330.8 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.3178, allocations: 27.98 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3179, allocations: 64.58 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.3181, allocations: 100.2 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3181, allocations: 4 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002799/0.3184, allocations: 133.4 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3184, allocations: 8.125 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3184, allocations: 0 / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3184, allocations: 4 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3185, allocations: 31.92 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3185, allocations: 0 / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.3186, allocations: 19.81 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3186, allocations: 4 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001218/0.3187, allocations: 129.2 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.3187, allocations: 15.91 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.319, allocations: 127 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.319, allocations: 0 / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.319, allocations: 3.984 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.319, allocations: 3.938 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.3192, allocations: 188.6 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3192, allocations: 0 / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.3193, allocations: 15.94 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3193, allocations: 0 / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3193, allocations: 7.984 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3193, allocations: 4 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3193, allocations: 0 / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.3197, allocations: 185 kB / 0.5687 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.3197, allocations: 11.94 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3197, allocations: 8 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.3198, allocations: 8.047 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.3198, allocations: 11.97 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3198, allocations: 7.938 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.32, allocations: 143.2 kB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.32, allocations: 0 / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.3202, allocations: 27.94 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001969/0.3222, allocations: 1.012 MB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3224, allocations: 87.77 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3224, allocations: 3.938 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.3225, allocations: 27.98 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3228, allocations: 55.77 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.3249, allocations: 1.753 MB / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3252, allocations: 0.7123 MB / 0.5725 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.3253, allocations: 17.42 kB / 0.5725 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.3253, allocations: 51.41 kB / 0.5726 GB, free: 8.641 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3253, allocations: 0 / 0.5726 GB, free: 8.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3508, allocations: 4.041 MB / 0.5765 GB, free: 4.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.07, allocations: 7.375 kB / 0.5765 GB, free: 4.652 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.962731243052986]