Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001313/0.001313, 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.001465/0.001465, allocations: 205.2 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.492/1.492, 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.2507/0.2507, allocations: 46.95 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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 75.88 kB / 0.4962 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3035, allocations: 66.09 MB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003342/0.3069, allocations: 1.671 MB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3086, allocations: 0.9437 MB / 0.5633 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.3087, allocations: 3.938 kB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.309, allocations: 59.8 kB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.3094, allocations: 99.53 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.3096, allocations: 71.75 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3098, allocations: 107.6 kB / 0.5636 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.3099, allocations: 4.234 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.654e-05/0.31, allocations: 43.8 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.3101, allocations: 35.78 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3101, allocations: 4 kB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.3102, allocations: 31.92 kB / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.3103, allocations: 35.84 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.3103, allocations: 27.75 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3105, allocations: 121.3 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3105, allocations: 0 / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3105, allocations: 4 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3106, allocations: 0 / 0.5639 GB, free: 0.7422 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005813/0.3111, allocations: 369.3 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3112, allocations: 12.03 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.3112, allocations: 30.75 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.3113, allocations: 12.89 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.3115, allocations: 163.2 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3116, allocations: 4.375 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.3116, allocations: 384 / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3117, allocations: 53.8 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3118, allocations: 0 / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3118, allocations: 0 / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3118, allocations: 3.984 kB / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.3118, allocations: 19.98 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.3121, allocations: 160.8 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3122, allocations: 54.55 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.3123, allocations: 20.84 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3123, allocations: 7.938 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.3125, allocations: 67.33 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3125, allocations: 0 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003107/0.3128, allocations: 105.5 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.3128, allocations: 55.41 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.3131, allocations: 282.8 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3131, allocations: 25.7 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.3132, allocations: 116.1 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.3133, allocations: 15.83 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3133, allocations: 21.72 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3135, allocations: 330.8 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.3135, allocations: 12 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.3136, allocations: 29.7 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.3137, allocations: 53.64 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3137, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001739/0.3139, allocations: 93.83 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3139, allocations: 4 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3139, allocations: 4 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3139, allocations: 7.938 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.314, allocations: 11.94 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.314, allocations: 0 / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.314, allocations: 7.953 kB / 0.566 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.314, allocations: 4.031 kB / 0.566 GB, free: 14.41 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 (7): * Single equations (assignments): 7 * 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.0001341/0.3142, allocations: 137.8 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3142, allocations: 19.84 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.3144, allocations: 94.77 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3144, allocations: 0 / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3144, allocations: 7.938 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3144, allocations: 3.984 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.3146, allocations: 160.7 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3146, allocations: 3.938 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.3146, allocations: 4 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3146, allocations: 4 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3146, allocations: 4 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3146, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3146, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.3148, allocations: 121 kB / 0.5665 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.3149, allocations: 15.84 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3149, allocations: 7.984 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.3149, allocations: 0 / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.315, allocations: 4 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.315, allocations: 7.984 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.3152, allocations: 208.5 kB / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3152, allocations: 0 / 0.5668 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.3154, allocations: 23.94 kB / 0.5668 GB, free: 13.52 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: 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 (6): * Single equations (assignments): 4 * 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.002056/0.3174, allocations: 0.9921 MB / 0.5677 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.3176, allocations: 39.92 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3176, allocations: 4 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.3177, allocations: 19.98 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.318, allocations: 35.84 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3199, allocations: 1.698 MB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.32, allocations: 109.7 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.233e-05/0.3201, allocations: 8.5 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.3202, allocations: 39.42 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3202, allocations: 0 / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.3516, allocations: 4.168 MB / 0.5737 GB, free: 6.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.26, allocations: 6.672 kB / 0.5737 GB, free: 6.453 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.260875632055104]