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.001759/0.001759, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001422/0.001422, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.365/1.365, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2119/0.2119, allocations: 46.94 MB / 360.8 MB, free: 3.91 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 76.11 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2943, allocations: 66.1 MB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003388/0.2977, allocations: 1.893 MB / 0.5626 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2995, allocations: 1.006 MB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.2996, allocations: 7.938 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.2999, allocations: 43.7 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.3002, allocations: 99.53 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.3004, allocations: 99.64 kB / 0.5638 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3006, allocations: 151.5 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3007, allocations: 19.56 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.3008, allocations: 63.7 kB / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3009, allocations: 47.66 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.3009, allocations: 8 kB / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.301, allocations: 51.97 kB / 0.5641 GB, free: 480 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.3011, allocations: 23.92 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.3012, allocations: 47.67 kB / 0.5642 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.3014, allocations: 159.2 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3014, allocations: 0 / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3014, allocations: 4 kB / 0.5644 GB, free: 244 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3014, allocations: 0 / 0.5644 GB, free: 244 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.0007019/0.3021, allocations: 407 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3022, allocations: 16.02 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.3022, allocations: 38.69 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.3023, allocations: 16.84 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3026, allocations: 171 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3026, allocations: 8.375 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3026, allocations: 4.375 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.3029, allocations: 146 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3029, allocations: 4 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3029, allocations: 4 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3029, allocations: 0 / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3031, allocations: 55.94 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.3037, allocations: 476 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.3041, allocations: 90.61 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3042, allocations: 40.83 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3042, allocations: 3.984 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.3044, allocations: 105.1 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3044, allocations: 0 / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004118/0.3048, allocations: 149.5 kB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3049, allocations: 55.78 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3051, allocations: 211.1 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3051, allocations: 25.7 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.3052, allocations: 120.1 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.3052, allocations: 31.69 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.3053, allocations: 33.64 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3055, allocations: 326.8 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.3056, allocations: 27.98 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3057, allocations: 64.27 kB / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.3059, allocations: 104.2 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3059, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002824/0.3062, allocations: 133.4 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3062, allocations: 11.94 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3062, allocations: 0 / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3062, allocations: 4.125 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.3063, allocations: 31.92 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.3063, allocations: 11.92 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.3064, allocations: 15.88 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3064, allocations: 4 kB / 0.5672 GB, free: 13.09 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.0001087/0.3065, allocations: 121.8 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.3065, allocations: 15.91 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.3068, allocations: 135 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3068, allocations: 0 / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3068, allocations: 11.92 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3068, allocations: 192 / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.307, allocations: 180.6 kB / 0.5676 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.307, allocations: 3.938 kB / 0.5676 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.3071, allocations: 15.98 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3071, allocations: 0 / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3071, allocations: 0 / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3071, allocations: 4 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3071, allocations: 3.938 kB / 0.5677 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3075, allocations: 196.9 kB / 0.5678 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.3076, allocations: 19.88 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3076, allocations: 4 kB / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.3076, allocations: 7.984 kB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3077, allocations: 11.92 kB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3077, allocations: 4 kB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3079, allocations: 143.2 kB / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3079, allocations: 4 kB / 0.568 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3081, allocations: 24 kB / 0.5681 GB, free: 12.12 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 (10): * Single equations (assignments): 8 * 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.002214/0.3103, allocations: 1.055 MB / 0.5691 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.3106, allocations: 87.89 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3106, allocations: 0 / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3107, allocations: 39.92 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.311, allocations: 43.66 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3132, allocations: 1.765 MB / 0.571 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3133, allocations: 109.8 kB / 0.5711 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.61e-05/0.3133, allocations: 17.42 kB / 0.5711 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.3134, allocations: 43.42 kB / 0.5711 GB, free: 8.961 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3134, allocations: 0 / 0.5711 GB, free: 8.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3463, allocations: 4.549 MB / 0.5756 GB, free: 4.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.07, allocations: 6.734 kB / 0.5756 GB, free: 4.438 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.880571030080318]